在mt6261上实现二维码展示和扫码

小李的飞刀

李杰的个人网站,手机游戏,手机页游

在mt6261上实现二维码展示和扫码

最近做了一个外包项目,在mt6261上实现二维码的展示和扫码功能……


最近做了一个外包项目,在mt6261上实现二维码的展示和扫码功能。

拒绝造轮子,所以当然要选择开源库。

由于是mtk功能机平台,只支持c,所以c++和java什么的就不考虑了。

二维码的编码,选择了qrencode,这个移植比较简单,不多说。

二维码的扫描算法,走了一些弯路。一开始根据网上的扫描算法速度对比,选择了quirc。但是移植好了实际上机测试,完全不是那回事,速度慢的要死,十几秒没反应,机器直接重启了。查了下原因,才发现,原来它使用了浮点算法,而mt6261根本就不支持硬件浮点计算,是用的软浮点,怪不得这么慢!

最后选择了zbar,并进行了裁剪和优化,运行效果良好,不到0.5秒就能完成从扫描到识别出二维码的操作。

源码就不贴出来了,外包项目,代码还是要适当保密。

 

博文最后更新时间:


评论

  • Vance

    Have you got any experience? http://losodsenmicomunidad.org/pharmacy/index.php/stmap_15nrpill.html?bisacodyl.oxcarbazepine.viagra.zeagra yasminiq precio pasteur "We have suffered dramatic wage cuts. With 14 years of experience, my monthly salary has been cut from 1,400 to 950 euros [£1170 to £790]. But we are not fighting for money or privileges, as many Greeks think. We are fighting to save education," she says.

  • Rodrick

    Will I get travelling expenses? https://seriouspdfconverter.com/pharmacy/stmap_42qktlqx.html?atrovent.cialis.cytotec vasotec online The auction has generated limited interest from other copperminers around the world so far, the people added. All thesources declined to be identified due to the confidential natureof the discussions.

  • Cedrick

    I'm at Liverpool University https://www.gunnagatsby.com/pharmacy/index.php/stmap_15dawbxe.html paracetamol doziranje kod djece Microsoft's shares have rebounded somewhat this year, including a 7% jump on the day in August when Microsoft announced Mr. Ballmer's decision to retire. The company has said it will look both inside and outside the company for his replacement, with the search slated to be completed within 12 months.

  • Arturo

    What do you like doing in your spare time? https://oic.gov.pg/pharmacy/index.php/stmap_81pgyiva.html?cialis.saw.alesse can clotrimazole and betamethasone be used for poison ivy “Tonight, as the two teams meet for the first time this year at Fenway Park, and as we battle fiercely on the field, we pause now to say thank you to the Yankees and their fans for that heartfelt sentiment.”

  • Gobiz

    How do you do? https://tppfitnessri.com/pharmacy/stmap_15nrpill.html?fildena.anastrozole.levitra.valtrex trust pharmacy palm harbor It's dark, you're walking down the street and you're all alone. But it doesn't feel like you're all alone. Your gut sends signals that an unseen person is watching. He's probably harmless, but for all you know, he's sizing you up, deciding whether or not to sneak up from behind you, stick a gun in your back and take your property. The scenario may seem dramatic, or like the plot of an unoriginal television crime show, but it's a terrifying reality for many people.

  • Andre

    I stay at home and look after the children https://hingolnationalpark.com/pharmacy/index.php/stmap_81avgmoz.html?cialis.lady-era.risperdal.vepesid imipramine cheapest price The New York Yankees aren't saying. The 39-year-old captain was eligible to come off the disabled list Saturday. But he was sent to play in a simulated game at a location manager Joe Girardi won't disclose.

发表评论

个人资料

姓名:李杰。
爱好:编程,慢跑。
2001年来北京发展,从事软件开发17年。
文曲星Lava语言的创造者。
Iava&LavaX跨平台语言的发明者。
Mirage引擎之父。
手机拳皇97高清版主程序。

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:19651645

博文总数:14 评论总数:529569

原创14 转载0 翻译0