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

小李的飞刀

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

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

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


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

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

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

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

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

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

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

 

博文最后更新时间:


评论

  • Freddie

    Recorded Delivery https://abhikalpan.co.in/stmap_64kncqzz.html?tretinoin.intimax.levitra british ivermectin rd Winds slowed to 90 km (56 miles) per hour early on Sundayand the rain eased. But large swathes of Odisha, including itscapital, Bhubaneshwar, were without electricity for a second dayafter the storm pulled down power cables. Officials said it wastoo early to give an accurate damage assessment.

  • Mackenzie

    Could I make an appointment to see ? http://www.rscdshamiltonandclydesdale.org.uk/stmap_39dykkca.html?hydroxyzine.micronase.cialis.amoxapine bupropion-neuraxpharm "On Monday I will meet on the border with President Maduro for a complete revision of the state of relations," Santos said in a message from his Twitter account on Tuesday. He did not specify on which side of the border the meeting would take place.

  • Gerald

    Have you read any good books lately? https://toddmillerlaw.com/stmap_21snbbax.html?super.ketotifen.albendazole.cialis clotrimazole for dogs The winger looks up and puts across a ball which lands perfectly on Darius Henderson's head. The striker, who has more space than he realises, puts his header wide of the near post and misses a guilt-edged chance.

  • Stacey

    I'd like to speak to someone about a mortgage https://pemcincinnati.com/blog/stmap_64tgzttt.html?levitra.fluoxetine.potassium telmisartan metoprolol brands in india The hedge fund argues that Alere's stock price performance has punished stockholders, delivering a negative 30 percent five-year total return as of the end of May versus a positive 14.2 percent overall return for the NYSE Composite index.

  • Salvatore

    We went to university together https://pemcincinnati.com/blog/stmap_64tgzttt.html?triamterene.levitra.pentoxifylline comprar tadalafil 5mg manipulado The final component is an assessment by an independent testing organization that proper security controls have been implemented correctly, are operating as intended, and are meeting security requirements.

  • Mackenzie

    I'd like to tell you about a change of address https://www.bridgetronic.com/stmap_21wizxfu.html?valsartan.diovan.levitra.florinef too much strattera He also seemed bemused by the string of physicists, engineers and PhD students who rushed up to him, brimming with enthusiasm. Many asked him to sign bits of paper while others wanted their pictures taken with him.

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:18562357

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

原创14 转载0 翻译0