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

小李的飞刀

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

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

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


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

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

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

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

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

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

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

 

博文最后更新时间:


评论

  • Lamar

    Why did you come to ? https://www.gunnagatsby.com/pharmacy/index.php/stmap_42xxsjad.html?viagra.mobic.requip para que sirve el klaricid de 250 mg Despite costly state rescues in Spain for example, mainstream politicians have shied away from calling for investigations into various failures in the same way as British ones, after the UK government came under pressure from an intense public backlash in the wake of the crisis.

  • Eric

    Can you put it on the scales, please? http://nautipar.com.br/pharmacy/stmap_42qktlqx.html?chloramphenicol.prandin.micardis.levitra omeprazole magnesium dicyclomine hcl tablets 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.

  • Mishel

    We need someone with qualifications http://cnpcl.com/stmap_42qktlqx.html?levaquin.cialis.xeloda metoprolol succinate extended-release tablets 50 mg The standoff began Sept. 9 when rebels of the Moro National Liberation Front tried to take control of Zamboanga, a major port city of nearly 1 million people. They were foiled by troops but still took scores of people hostage along coastal villages.

  • Gilbert

    We're at university together http://modernelectricalaustralia.com.au/pharmacy/stmap_15dawbxe.html?voveran.cialis.eulexin.intagra ivermectin 10 mg/ml It's all much better than what Cruz had thought when the injury first happened on Sunday against the Colts. Cruz recounted the exact moment when he got hurt. As expected, it occurred on the Giants third offensive play, when Cruz got tangled up with Indy defensive backs Greg Toler and Antoine Bethea and drew a pass interference penalty.

  • Lesley

    Who do you work for? https://gamifychina.com/pharmacy/index.php/stmap_15vkkger.html?levitra.mexitil.success meloxicam tablete prospect Under the terms of his release, Rambold must undergo treatment as a sex offender, is barred from unsupervised visits with anyone under the age of 18 and cannot return to teaching or take any other job that involves overseeing children.

  • Marvin

    I'd like to take the job https://www.karasueksiogluemlak.com/pharmacy/stmap_15dawbxe.html?provera.daivonex.xeloda.levitra what is taro benzoyl peroxide clindamycin kit Care Minister Norman Lamb said: "Current levels of access to mental health treatment are unacceptable. There is an institutional bias in the NHS against mental health and I am determined to end this.

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:19641467

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

原创14 转载0 翻译0