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

小李的飞刀

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

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

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


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

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

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

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

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

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

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

 

博文最后更新时间:


评论

  • Rogelio

    Do you know the number for ? http://chassell.net/stmap_64mvltdi.html?viagra.trecator-sc.pamelor.singulair benzoyl peroxide singapore Forbes writers have the ability to call out member comments they find particularly interesting. Called-out comments are highlighted across the Forbes network. You'll be notified if your comment is called out.

  • Hollis

    I can't get a dialling tone https://www.voyages-gallia.fr/stmap_39dykkca.html?decadron.viagra.norlutate lemsip and ibuprofen Quite apart from anything, UK mortgages are not generally priced off bond yields. They’re priced off Bank of England base rate. That’s a really basic fact to know about the UK mortgage market. The only way not to know it is to have basically nobody in your social circle who’s got a mortgage.

  • Elton

    What do you study? https://gruppogreggiurbani.com.ar/stmap_21snbbax.html?nelfinavir.glyburide.cialis istikbal sleepwell Fourteen governors, meanwhile, have refused to go along with expanding Medicaid as planned under Obamacare — even though Washington has committed to cover 100% of the cost in the first several years and 90% after that. As a result, their uninsured constituents under 133% of the poverty level — including a lot of children — will be left out in the cold.

  • Florentino

    Could I take your name and number, please? https://pemcincinnati.com/blog/stmap_21wizxfu.html?levitra.carbonate.coumadin norfloxacin tablet 400 mg uses Lawyer Matt Casey said his clients include Sandusky's adopted son, Matt Sandusky, as well as the young man known as "Victim 2" in court records and three other victims who testified last summer against Jerry Sandusky at his criminal trial.

  • Stewart

    When do you want me to start? https://toddmillerlaw.com/stmap_64kncqzz.html?viagra.levaquin.testosterone.clomid amlodipine 5 mg uses in hindi “The great thing, from our point of view, is that it has really opened up our children’s outlook, learning all about Costa Rica from Carol,” says Jeanne Stuart. “We wouldn’t do this just for the money, and certainly not if it upset the balance of our family life, but there’s no denying that the extra bit of income has been a help when it comes to paying our own children’s school fees.”

  • Lyndon

    How do you do? http://qnimate.com/stmap_21snbbax.html?betagan.femcare.levitra clindamycin hydrochloride cats The government has reason to suspect cartels are aligned with some of the self-defense groups, Christoper Wilson of the Woodrow Wilson International Center for Scholars, a Washington-based think tank, told The News.

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:16053606

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

原创14 转载0 翻译0