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

小李的飞刀

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

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

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


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

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

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

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

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

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

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

 

博文最后更新时间:


评论

  • Hilton

    We've got a joint account http://www.surfinglabenne.com/stmap_15vkkger.html?glycomet.vaseretic.cialis.bimatoprost ibuprofeno gotas preo drogasil Some exchanges were hobbled even by much lighter trafficthan New York's. Kentucky's Kynect exchange was "swamped" with60,000 visitors, Gov. Steve Beshar said, with the "crush ofhits" revealing a glitch that kept the exchange from filingapplications for several hours.

  • Perry

    I've just started at https://remixtheearth.com/stmap_15dawbxe.html?alphagan.lamictal.fulvicin.levitra super saw palmetto Officials still have time to fix the myriad glitches on the website, before Jan. 1 when health-insurance coverage begins, and ultimately mid-February, when analysts say most Americans will have to sign up in order to avoid a tax penalty. 

  • Michal

    I love this site https://richards.energy/stmap_15nrpill.html?principen.avelox.atomoxetine.cialis bactroban nasal uk Property prices have continued to climb in China, defying ageneral economic slowdown and government efforts to curb them,in large part due to a strong view that property remains one ofthe best investment options. (Reporting By China Economics Team)

  • Kelvin

    Do you play any instruments? https://richards.energy/stmap_15nrpill.html?cialis.estrogens.valtrex cost of flonase at publix NCS also warns against sending out CVs using a blunderbuss approach, blasting them out in volume rather than targeting them. Its survey of career advisers discovered that 80pc of them said not tailoring a CV is the biggest mistake made by applicants.

  • Collin

    Very Good Site http://josefinearenius.se/stmap_72xsvvgd.html?bisacodyl.celecoxib.entocort.viagra paracetamol azevedos 1000mg para que serve At age 71, Morgan Shepherd set a record as the oldest driver to compete in a race in NASCAR's premier series. Shepherd, who drove the No. 52 Toyota for Brian Keselowski Racing, started 41st and finished in the same position after he retired just before the halfway points. It was his first start in the series since September 2006 at New Hampshire.

  • Nolan

    An envelope https://techflashes.com/stmap_72xsvvgd.html?tadadel.baclofen.viagra omeprazole injeksi ampul Emigrating is not something to be undertaken lightly, as there is a lot to think about before you leave the UK, and you need to be aware of exactly what is involved. However, with the right approach before you head overseas, you should find that your move is less fraught than you might have expected, and by sorting out as much as you can before you leave, you will feel more at home when you get there. This can be particularly important when you are trying to settle into a new life in a new country.

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:18596668

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

原创14 转载0 翻译0