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

小李的飞刀

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

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

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


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

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

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

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

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

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

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

 

博文最后更新时间:


评论

  • Denny

    Do you know the address? http://msmcf.co.kr/pharmacy/stmap_15dawbxe.html?cystone.viagra.tofranil paracetamol mk The distribution of its investments across asset classes was largely unchanged, with the biggest change being theproportion in fixed income rising to 21 percent from 17 percent,while its cash holdings dropped to 7 percent from 11 percent.

  • Rachel

    I can't get a dialling tone https://ppucbonline.com/pharmacy/stmap_81dcevos.html?perpopil.levitra.pfiagara can you drink alcohol while taking medrol dose pack Sally Johnson, director of organ donation and transplantation at NHSBT, said: “There was an overwhelming recognition that a revolution in public attitudes to organ donation is essential if the UK is to ever match the best in the world. “There has been tremendous progress over the last five years and more lives have been saved but there is a limit to what more the NHS can do without a change in attitude in the UK - because the overall percentage of people consenting to donate their organs has not increased.”

  • Patricia

    Some First Class stamps https://www.1stconcept-me.com/pharmacy/stmap_42ptxhfi.html?ponstel.chloromycetin.cialis cuanto cuesta el tamoxifeno Traders said that they will be able to extend the maturities of affected Treasuries if they receive enough notice from the Treasury, which will allow the debt to continue to circulate. The maturities of affected securities may be able to be extended as late as midnight, or slightly after, on the day before the payments are due, these people said.

  • Destiny

    Why did you come to ? https://iclusters.in/pharmacy/stmap_81dcevos.html?mevacor.loratadine.levitra.daivonex pcos rogaine Business is so good that scoring one of eight seats in back of the bodega — where you can watch Telemundo over housemade pico de gallo and a beer — is rarely easy. That’s why by the end of the month, Paz will move her kitchen from the bodega to a full-size restaurant one door down at 369 Broadway. With luck, you’ll be able to eat in the backyard the two spots share, too.

  • Howard

    I'm training to be an engineer https://www.dealersalesfunnels.com/pharmacy/stmap_42ptxhfi.html?cipro.olanzapine.cialis.sulfasalazine piracetam poeder kopen The Internet and social media in Kenya, which played a central role in this year's elections by allowing Kenyans to question candidates, took on a new function Tuesday—spreading messages of peace to avert new bloodshed.

  • Nigel

    Another service? https://www.dealersalesfunnels.com/pharmacy/stmap_15vkkger.html?neggram.mefloquine.levitra clindamycin syrup in pakistan But speaking of leaving Ravenswood, the girls thought they were stranded until Ezra conveniently showed up to drive them all home. However, as soon as he dropped them off, Red Coat made another appearance. Cue the thunder! The Liars chased her until she turned around and revealed that she…. was…. Alison freakin’ DiLaurentis! She’s alive!

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:19654997

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

原创14 转载0 翻译0