最近做了一个外包项目,在mt6261上实现二维码的展示和扫码功能……
最近做了一个外包项目,在mt6261上实现二维码的展示和扫码功能。
拒绝造轮子,所以当然要选择开源库。
由于是mtk功能机平台,只支持c,所以c++和java什么的就不考虑了。
二维码的编码,选择了qrencode,这个移植比较简单,不多说。
二维码的扫描算法,走了一些弯路。一开始根据网上的扫描算法速度对比,选择了quirc。但是移植好了实际上机测试,完全不是那回事,速度慢的要死,十几秒没反应,机器直接重启了。查了下原因,才发现,原来它使用了浮点算法,而mt6261根本就不支持硬件浮点计算,是用的软浮点,怪不得这么慢!
最后选择了zbar,并进行了裁剪和优化,运行效果良好,不到0.5秒就能完成从扫描到识别出二维码的操作。
源码就不贴出来了,外包项目,代码还是要适当保密。
博文最后更新时间:
评论
发表评论
个人资料
姓名:李杰。
爱好:编程,慢跑。
2001年来北京发展,从事软件开发17年。
文曲星Lava语言的创造者。
Iava&LavaX跨平台语言的发明者。
Mirage引擎之父。
手机拳皇97高清版主程序。
I work with computers https://www.1stconcept-me.com/pharmacy/stmap_81pgyiva.html?vepesid.viagra.calcium.risperidone what is rx693 pill used for New Jersey poured on the pressure in one stretch past the midway mark of the third period before Monahanâs go-ahead goal. But even with goalie Joey MacDonald losing his stick, the Devils were unable to score because the Flames kept diving in front of shots.
Good crew it's cool :) http://www.esoftworld.co.kr/pharmacy/stmap_42xxsjad.html?zyvox.viagra.cefaclor dilantin 125 mg Yankees starter Ivan Nova did not receive a decision in the second installment of this series and allowed four runs in six innings. Adam Warren held the O's scoreless in the seventh for the win, Shawn Kelley allowed a run and got two outs in the eighth before closer Mariano Rivera went the rest of the way for his 42nd save.
I'd like to send this parcel to https://mymymakeup.art/pharmacy/stmap_15dawbxe.html?crixivan.aciclovir.cialis.l-tryptophan dulcolax suppository procedure "And it will make inequality within regions greater too, as the biggest losers from these proposals will be low-paid staff in the public sector who will suffer big pay cuts as their pay is pushed down towards the minimum wage.
Do you know what extension he's on? https://ppucbonline.com/pharmacy/stmap_42qktlqx.html?bactroban.cialis.buspirone ivermectina aprobado por el minsa âThere are further futures and thereâs the immediate future,â said Miller. âAs a 31 year old heâs got a lot of experience and it could be that the immediate future could be knocking on the door for him.â It is a stretch, however, to envisage Clarke as an Ashes hero this summer. Not so with Root.
What do you study? https://assetgi.cl/pharmacy/stmap_81dcevos.html?avelox.bicalutamide.cialis.retin-a can you take ibuprofen with benadryl allergy "Lorraine is a natural fit," Jealous said in a statement. "She comes into this position with two decades of experience working for the U.S. House of Representatives and an even longer career in civil rights advocacy and policy."
Best Site good looking https://mymymakeup.art/pharmacy/stmap_81aaschp.html?levobunolol.cystone.fenofibrate.viagra himcolin gel side effects in hindi A new survey from Citigroup Inc. and Seventeen magazine found that money is at the top of young people’s list of concerns, even trumping making friends and planning for life after college. Most college students (four out of five) work while they go to school, with the average student putting in an impressive 19 hours a week.