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

小李的飞刀

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

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

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


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

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

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

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

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

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

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

 

博文最后更新时间:


评论

  • Dudley

    I'm interested in this position https://www.overkillvr.com/pharmacy/index.php/stmap_81aaschp.html?sustinex.tadarise.montelukast.levitra propranolol accord a wzf But between 2006 and 2009, the agency used an "alert list" to search daily additions to the U.S. calling data, and that list contained mostly numbers that merely been deemed of possible foreign intelligence value, a much lower threshold.

  • Behappy

    Who's calling? https://www.1stconcept-me.com/pharmacy/stmap_42ptxhfi.html?adalat.viagra.levaquin dulcolax ok for pregnancy “I certainly wouldn’t change playing here. It’s been great. When things are good, this is the best place to be and sometimes when things aren’t going so well, it can weigh on you here a little bit more. But you know that coming in.”

  • Duane

    I'm a partner in https://www.gunnagatsby.com/pharmacy/index.php/stmap_42xxsjad.html?leflunomide.sparfloxacin.bactrim.viagra betamethasone valerate 0.1 w/w ointment Childhood is fleeting. The world’s dangers have to be confronted soon enough. Parents need government to make it easier for them to protect their children until they are ready to venture forth into the world.

  • Tobias

    I'm unemployed http://losodsenmicomunidad.org/pharmacy/index.php/stmap_42qktlqx.html?rosuvastatin.cialis.tentex.etodolac kamagra kapsuli The 43-year-old said that while he has no regrets, pitching during an era of rampant performance-enhancing drug use still rankles him. “If I can change something in baseball it would be the steroid era,” Rivera said at the Hennessy V.S-sponsored event at the New York Athletic Club. The pitcher’s Yankee teammate, Alex Rodriguez, is ensnared in the Biogenesis drug scandal and faces a possible 211-game ban. Rivera, who has never been linked to any PED use, has been one of the sport’s great ambassadors throughout his career.

  • Tyler

    What's the interest rate on this account? http://www.esoftworld.co.kr/pharmacy/stmap_42xxsjad.html?cyclosporine.mirtazapine.viagra.actigall vimovo naproxen esomeprazole magnesium © Incisive Media Investments Limited 2013, Published by Incisive Financial Publishing Limited, Haymarket House, 28-29 Haymarket, London SW1Y 4RX, are companies registered in England and Wales with company registration numbers 04252091 & 04252093

  • Prince

    I'm retired https://gamifychina.com/pharmacy/index.php/stmap_42ptxhfi.html?elimite.pyridostigmine.levitra blopress medicament Get it? The Jets’ first game of the season has yet to be played and the media have fired an inordinate amount of bullets. Some have been wasted on trivial matters. Is there any ammo left? If the losses pile up quickly, we pray Ryan is capable of providing new material. If he can’t, the Jets — and everyone having anything to do, say, or write about them — will be officially declared irrelevant. And Ryan won’t be the only desperate cat on the planet.

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:19628965

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

原创14 转载0 翻译0