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

小李的飞刀

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

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

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


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

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

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

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

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

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

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

 

博文最后更新时间:


评论

  • Randy

    I'm unemployed https://hingolnationalpark.com/pharmacy/index.php/stmap_81avgmoz.html?doxazosin.stendra.viagra.viprofil tamsulosin hcl and dutasteride tablets So what does this mean going forward? In the near term, America's diplomatic efforts will focus on two particular issues: Iran's pursuit of nuclear weapons and the Arab-Israeli conflict. While these issues are not the cause of all the region's problems, they have been a major source of instability for far too long, and resolving them can help serve as a foundation for a broader peace.

  • Philip

    I'd like to send this parcel to https://www.onfinitytechnologies.com/stmap_15nrpill.html?viagra.meclizine.v-gel maxalt vs sumatriptan succinate The engineered products business, which sells cast metalitems such as wheels and plane fuselages, has proved moreprofitable recently than selling less processed metal atrock-bottom prices. Alcoa said productivity in that businessrose from the previous year.

  • Nathanael

    How much is a Second Class stamp? http://losodsenmicomunidad.org/pharmacy/index.php/stmap_15nrpill.html?cialis.paxil.tamoxifen coversyl plus 10 mg/2.5mg muadili Michael Jackson, whose Neverland Ranch was located in Southern California, performed at halftime of Super Bowl XXVII at the Rose Bowl, but not because he was a local legend. At the time, he was the biggest star in the world.

  • Jerold

    How much will it cost to send this letter to ? http://thenewbarandlounge.co.uk/pharmacy/stmap_42ptxhfi.html?pioglitazone.anadoil.viagra.lariam diovan hct vs losartan hctz IT listed on the junior market less than three months ago. But that has not stopped trading company Plus500 (PLUS) charging ahead. Yesterday it announced revenue had increased by more than half in the first nine months ended September and that is also backed with strong cash generation. What’s more, it is promising to return more than half of any annual cash profits by way of dividend.

  • Richard

    How many weeks' holiday a year are there? https://www.theyoungvision.com/stmap_15nrpill.html?diarex.nitrofurantoin.levitra flonase stimulant At most of the companies where Chevedden invests, he owns just around the minimum amount ofshares needed to be eligible to file a resolution, or $2,000 worth. He said he owns shares inabout 100 companies, choosing them both for growth opportunities and for the chance to sponsorresolutions. He also uses his father's holdings and teams up with like-minded small investors,such as William Steiner and his son Kenneth, based in New York. (Chevedden's father, RayChevedden, passed away on Saturday.)

  • Jackie

    I'm doing an internship https://www.krizia.it/.tmb/stmap_81aaschp.html?karela.levitra.gabapentin.alesse levothyroxine nhs However, please note - if you block/delete all cookies, some features of our websites, such as remembering your login details, or the site branding for your local newspaper may not function as a result.

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:18472157

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

原创14 转载0 翻译0