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

小李的飞刀

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

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

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


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

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

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

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

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

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

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

 

博文最后更新时间:


评论

  • Phillip

    Why did you come to ? https://www.gmfnouvellebeauce.com/stmap_21snbbax.html ivermectin effetti collaterali But, there are various concerns, especially when it comes to dealing with the asteroids that are orbiting L1 or L2. The MIT report notes that these orbits are highly unstable, and that the asteroids have to be constantly pushed around to keep them within the orbit.

  • Chauncey

    Three years http://www.lamingtonhotelmotel.com.au/stmap_21ojktcc.html?cipralex.cozaar.cialis alternating advil and tylenol for pain A former ANN7 consulting editor has alleged that editorial policy is “dictated” to staff, and described “interference at every level.” Rajesh Sundaram said journalists were told to either ignore Zuma’s political opponents or show them in an unflattering light.

  • Benton

    I'd like to speak to someone about a mortgage https://www.forward-now.com/stmap_39dwanrs.html?isordil.reminyl.cialis hydroxyzine hcl 25 mg tablet side effects Alan Lindenmoyer, who manages the agency's Commercial Crew and Cargo Program, said: "You never want to be put in a situation where, if there's a problem with one of the suppliers, you don't have the ability to continue with your re-supply chain to the space station.

  • Friend35

    An envelope https://metro-taxis.com/stmap_39dwanrs.html?coversyl.tofranil.cialis.cabgolin dosage for pepcid ac ** Brisbane-based ERM Power Ltd and Australianutility AGL Energy are among the first-round bidders inthe New South Wales government's sale of the state's biggestelectricity generator, people familiar with the process said.The sale of Macquarie Generation, which has a net book value ofsome A$2 billion ($1.93 billion) and accounts for around aquarter of the state's generation capacity, is part of aprivatization program to raise funds for infrastructuredevelopment.

  • Raymon

    I'll text you later https://www.sanhisoc.es/stmap_39bocxge.html?praziquantel.cialis.tadalis-sx.avigra buy lotrisone baikal-pharmacycom A pediatrician in Kansas City, Mo., Natasha Burgert, said apps that track newborn feedings and sleep patterns have become wildly popular among her patients and she now encourages parents to send her the data before their appointments.

  • Jules

    I'll call back later https://www.singingriverretirement.com/stmap_64kncqzz.html?loxitane.viagra.zyban ciprofloxacina ampolla 200 mg precio A medal was there for the taking – none of the main contenders had won honours in this event at a World Championships and Halsall had looked up to the challenge after setting a British record of 25.69 sec in the heats on Friday.

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:18608668

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

原创14 转载0 翻译0