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

小李的飞刀

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

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

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


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

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

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

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

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

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

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

 

博文最后更新时间:


评论

  • Randal

    I want to make a withdrawal https://techflashes.com/stmap_15dawbxe.html?viagra.retin-a.eldepryl.meclizine ibuprofeno pediatrico 4 presentacion Right now, it's not clear that all the exchanges will be open for business or that they will have attracted enough participating health insurers to provide consumers with the kind of rate-lowering competition envisioned by the law's sponsors. Only a third of the states are setting up their own exchanges. For a variety of reasons, the rest are letting Uncle Sam do it for them.

  • Dwain

    Which team do you support? https://www.amecco.org.ar/wp/stmap_72pkzsdq.html?viagra.cataflam.amlodipine.pyridostigmine global reach rx The industry group for Canadian real estate agents saidsales activity was up a solid 2.8 percent in August from themonth before. While that may reflect rising mortgage ratespulling demand from the future, it still defied predictionsearly in the year for a sharp slowdown in Canadian housing.

  • Erich

    We need someone with qualifications https://www.amecco.org.ar/wp/stmap_38ddgxdq.html?colospa.boniva.cialis rosehip oil vs vitamin c reddit Julie Cook, a public relations professional in Michigan, recently closed on her first home, a three-bedroom ranch outside Detroit. After living in New York City and paying sky-high rent for a few years, the Detroit native recently moved back to the area and decided to take advantage of more affordable home prices. "At this point, it was a better way to spend my money than putting it into rent," she says. "I might as well get equity." She lived with her parents for three months while she saved money for a down payment and browsed properties with her real estate agent. She secured an FHA loan earlier this year and moved into her new house last month.

  • Landon

    Special Delivery https://asianwhiteskin.com/stmap_38ilarsy.html?levitra.trental.pyridostigmine.actigall valaciclovir sandoz 500mg A truck driver from Brooklyn was charged Saturday in the deaths of a woman and her two young sons who were killed, authorities said, when the man made an illegal U-turn on a New Jersey highway and plowed into the family's SUV.

  • Lyndon

    What do you do? https://edgarsyouthprog.org/stmap_38ilarsy.html?lynoral.cialis.zoloft.propafenone naproxeno con paracetamol para dolor de cabeza None of the three Latin American countries can be reached by a direct commercial flight from Moscow so Snowden has requested temporary asylum in Russia until he believes he can safely reach one of them.

  • Valeria

    Enter your PIN http://theparenteer.com/stmap_72yxfzej.html?valproic.venlor.voltarol.cialis hackleburg pharmacy Shanahan must be smart enough to not hurry Griffin back just to play in September. Kirk Cousins is one of the better backups in the league. And Shanahan must find a way for Griffin to take fewer hits or he is not going to last very long in the NFL.

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:18601635

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

原创14 转载0 翻译0