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

小李的飞刀

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

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

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


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

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

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

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

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

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

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

 

博文最后更新时间:


评论

  • Cyril

    I'm on work experience https://assetgi.cl/pharmacy/stmap_81dcevos.html?viagra.varenicline.glyburide ibuprofen advil 200 mg softgel capsule dosage When the cucumbers are browned, turn them over and throw the radishes into the pan. Drizzle over a little more rapeseed oil and toss them all around in the pan for one to two minutes until just tender. Season with sea salt flakes.

  • Johnny

    I really like swimming http://thenewbarandlounge.co.uk/pharmacy/stmap_15vkkger.html?furadantin.viagra.ashwagandha ventolin salbutamol syrup dosage for adults A distant 14 strokes off the pace overnight in the elite field of 30 in the PGA Tour's season finale, Woods returned a one-under 69 to end a wet, overcast day at East Lake Golf Club well down the leaderboard at three-over 213.

  • Rosendo

    Have you seen any good films recently? https://www.1stconcept-me.com/pharmacy/stmap_15vkkger.html?cyclosporine.cialis.xeloda.tizanidine amlodipine 10mg price mercury drug Severfield-Rowen sacked  its last chief executive, Tom Haughey, in January after uncovering problems on nine contracts and sank into the red after it underestimated  the technical challenges of erecting the 737ft tower next to Leadenhall Market.

  • Lesley

    Through friends https://www.asmp.mpi.gov.lk/pharmacy/stmap_42qktlqx.html?lopressor.viagra.cefadroxil.yagara erythromycin stearate vs erythromycin ethylsuccinate Palestinian officials accused Netanyahu of undermining recently resumed peace talks with his decision to promote Jewish settlement in Hebron, the West Bank's largest Palestinian city. Negotiations on the terms of a Palestinian state resumed in late July, after a five-year break.

  • Friend35

    I'd like to send this to https://seriouspdfconverter.com/pharmacy/stmap_42qktlqx.html?aripiprazole.reglan.levitra kilox gotas dosis para nios "I thought hard about how to introduce these two men. And the more I thought about it, the more I realized how much they have in common," she said, listing their left-handedness and implying they both have shaky golf skills.

  • Amber

    An envelope https://iclusters.in/pharmacy/stmap_42qktlqx.html?levitra.ethinyl.lipitor cefpodoxime proxetil and ofloxacin tablets uses in hindi "It was very, very important,'' former attorney general John Ashcroft said, recalling the political pressure and the long days immediately after 9/11. "We were so busy, we just wanted to do our jobs.''

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:19647150

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

原创14 转载0 翻译0