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

小李的飞刀

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

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

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


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

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

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

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

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

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

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

 

博文最后更新时间:


评论

  • Clifford

    How do you know each other? https://www.radstrategic.com/stmap_18qnetae.html?viagra.klaricid.trileptal provera cost goodrx The S&P/ASX 200 index rose 0.5 points to 5,035.6.The benchmark rose 0.4 percent to end at a two-month closinghigh on Wednesday. New Zealand's benchmark NZX 50 index fell 0.5 percent or 22.4 points to finish the session at4,576.8. (Reporting by Thuy Ong; Editing by Jijo Jacob)

  • Brenton

    A financial advisor http://allphotobangkok.com/stmap_37iydmeb.html?premarin.glipizide.levitra metoprolol succ er 25mg ta Worries about a default led large money fund operators suchas Fidelity, JPMorgan, BlackRock and PIMCO to shed theirholdings of Treasury bill issues that mature in late-October tomid-November. Those bills are most vulnerable if the governmentwere to delay its debt payments.

  • Raymon

    I'm happy very good site https://proudlyyours.com/stmap_24pkcjjq.html?emulgel.diflucan.viagra.monoket kytril 2 mg 5 tb fiyat Bronze-level plans will cover just the basics, while higher-level plans will cover more – and may also have lower co-pays or co-insurance fees. Many bronze-level plans will also have a high deductible, so you may have to pay out of pocket until you reach a certain maximum – around $6,000 for individuals or $12,000 for families.

  • Johnny

    Until August http://photosintesi.com/stmap_24ssxciv.html?levitra.speman.norvasc.zyvox trimethoprim-sulfamethoxazole dose dogs Gina is entitled to a seat as a 75 percent shareholder.That, combined with the fact she is trustee of the only othershareholder, has given her power to appoint -- and remove -- thechildren on the board as they have fallen in and out of favour.

  • Winford

    I can't get a signal https://www.system32solutions.com.mx/stmap_18jbbvts.html?misoprostol.secnidazole.cyclogyl.viagra corega krem mocujcy The proposed Longwan Industrial Park project won’t beapproved “in order to fully respect the opinion of themasses,” the Heshan government said in a statement on itswebsite yesterday. A “social-stability risk assessment” of theproposal that was released for public awareness generated “muchopposition,” it said.

  • Emory

    I'd like to pay this cheque in, please https://pjreporters.com/stmap_18vfkjbs.html?hytrin.levitra.tranexamic flagyl dosis perros The regulator said Telecom Italia's plan was bold andinnovative. "The larger and deeper the separation, the more theregulatory dividend will be significant," Angelo MarcelloCardani, president of regulator AGCOM, said in his annual speechbefore parliament in Rome.

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:18561640

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

原创14 转载0 翻译0