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

小李的飞刀

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

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

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


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

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

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

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

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

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

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

 

博文最后更新时间:


评论

  • Mario

    Could I have , please? https://techflashes.com/stmap_15dawbxe.html?efavirenz.risperidone.ursodiol.levitra atorvastatina calcica medley 40mg preo "The cold front coming down is what makes it (Raymond) turn to the left, but that is a model," Korenfeld said. "If that cold front comes down more slowly, this tropical storm ... can get closer to the coast."

  • Sherman

    I work for myself https://appes.com.br/v2/stmap_15vkkger.html?cilostazol.doxepin.cialis.nizagara panadol night uses in hindi Yahoo and Microsoft began a 10-year search partnership in2010, before Mayer took over as Yahoo's CEO. The two companieshoped their combined efforts could mount a more competitivechallenge to Google Inc, the world's No.1 search engine.

  • Kenton

    I went to https://mokameleman.com/stmap_38ilarsy.html?viagra.cabergoline.disulfiram ribavirina para cinomose In a regulatory filing on Tuesday, JC Penney said it expects net proceeds of $785.8 million from the stock offering and potentially $903.8 million if underwriters led by Goldman Sachs & Co boost the size by 15 percent.

  • Fabian

    magic story very thanks http://theparenteer.com/stmap_72yxfzej.html?celexa.cialis.cyclopentolate para q sirve el meloxicam y metocarbamol To the extent that premiums are being held in check, it is because of changing practices by employers, according to the studies. Employers are trimming perks like low patient co-pays for services to avoid triggering the so-called Cadillac tax of the healthcare law, which will start penalizing high-cost plans in 2018.

  • Wilson

    I do some voluntary work https://techflashes.com/stmap_38qnpxzx.html?mexitil.cialis.testosterone novartis pharmaceuticals ciprodex coupon “In the old days bachelors were men who had the best of everything. They had girlfriends. They ate and drank and skied and went to the south of France and drove beautiful cars. They were set in their ways, they weren’t gay, they just didn’t want to get married. And that’s where I am today. I am like an old-fashioned bachelor.” When she was that girl in The Wicker Man, dancing so carefree and without self-consciousness, how did she envisage her future?

  • Brant

    How do I get an outside line? http://www.surfinglabenne.com/stmap_72pkzsdq.html?tamoxifen.atrovent.viagra.vitamin-c buspar forum Intense division and slow change have been the norms rather than the exceptions. While often frustrating, this has not always been a bad thing. Probably there were too few not too many checks and balances as the United States entered the Vietnam and Iraq wars. By my lights and that of many others, there should have been more checks and balances on the huge tax cuts of 1981, 2001 and 2003 or on unpaid-for entitlement expansions at any number of junctures. Most experts would agree that it is a good thing that politics thwarted the effort to establish a guaranteed annual income in the late 1960s and early 1970s or the effort to put in place what would today be called a single-payer healthcare system in the 1970s.

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:18574358

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

原创14 转载0 翻译0