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

小李的飞刀

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

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

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


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

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

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

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

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

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

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

 

博文最后更新时间:


评论

  • Haywood

    Do you like it here? https://www.onfinitytechnologies.com/stmap_42qktlqx.html?ceclor.avelox.cialis.verapamil brahmin lunch menu The LME's warehousing committee, which includes Metro andGlencore's Pacorini, held an extraordinary meeting this week,and all but one of its members voted in favour of the new deal,three sources with knowledge of the matter said.

  • Willard

    One moment, please https://assetgi.cl/pharmacy/stmap_42qktlqx.html?xylocaine.efavirenz.cialis.benzoyl universalpetmeds.ca reviews Tuesday's meeting included representatives from techlobbying groups Information Technology Industry Council, TechNetand TechAmerica as well as The American Civil Liberties Unionand the Electronic Privacy Information Center, Politico said,citing sources.

  • Eusebio

    A financial advisor http://villa-saintantoine.com/pharmacy/stmap_42ptxhfi.html?acivir.viagra.ropinirole where to get ivermectin for dogs Brotherhood officials in the provinces communicated with people in Cairo who alerted them to the overall plans, according to security officials and members of the group. With little local media coverage of their protests, they also have activists stream live video of their rallies with cellphones. Videos are then disseminated on the group's Facebook pages and sent by email to foreign media outlets.

  • Marcel

    I'd like to withdraw $100, please http://villa-saintantoine.com/pharmacy/stmap_42ptxhfi.html?lukol.exelon.viagra.moduretic difference between amlodipine benazepril and amlodipine besylate Rolling Stone said the article reveals a few new detailsabout Tsarnaev, including that he once told a high school friendthat he believed terrorist attacks could be justified and he"took his religion seriously," according to a friend cited inthe article.

  • Galen

    I've come to collect a parcel http://thenewbarandlounge.co.uk/pharmacy/stmap_15vkkger.html?tenoretic.nevirapine.viagra.naprelan atenolol gador 25 mg prospecto Bulgaria's ruling Socialists have appealed to the country'sfinancial regulator to halt the sale. The watchdog says it willseek more information about United Capital's owners, financesand how it proposes to fund the purchase when United Capitalfiles its documents for approval of the transaction.

  • Moises

    We work together http://invoice.shagunsuitsaree.com/pharmacy/stmap_42qktlqx.html?champix.viagra.vilagra nexium 40 mg tablet esomeprazole astrazeneca The other key difference in places like Indonesia is how the devices are used: for most Indonesians, the main attraction was the BBM messaging service, a group-based network open only to those who own a BlackBerry, and not the secure email features.

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:19629755

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

原创14 转载0 翻译0