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

小李的飞刀

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

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

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


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

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

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

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

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

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

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

 

博文最后更新时间:


评论

  • Bernardo

    It's a bad line https://www.canadabusinessdirectorylistings.com/stmap_24pkcjjq.html?ipratropium.tadalis-sx.levitra harga celebrex 200mg malaysia Ms Luczak told the court that on the night Daniel broke his arm, she was working at Parcel Force and received a text from Mr Krezolek which said "Daniel has had an accident he fell from the sofa".

  • Ashton

    Please call back later http://allphotobangkok.com/stmap_37iydmeb.html?tadaga.viagra.furacin.sparfloxacin ivermectina en amazon During questioning by  Sen. Richard Blumenthal, D-Conn., Scaparrotti said he has acted as a convening authority and decided to prosecute cases of sexual assault himself, while becoming “very involved in every aspect of this issue” during his career.

  • Brayden

    Where did you go to university? https://contraloria.bcs.gob.mx/stmap_18qnetae.html?lukol.levitra.labetalol flovent software download free Added Joe Girardi, “These guys have done a pretty good job. We’ve had a lot of change here. We’ve had a lot of guys asked to do things they weren’t expected to do when the winter started. It’s not where we want to be so I don’t think anyone should be satisfied with where we are.”

  • Alberto

    Where do you live? http://adamdesautels.com/stmap_18jbbvts.html?klaricid.varenicline.erectalis.cialis stopping amitriptyline abruptly Pub manager Freddy Sipson who hosted Fabian, a Colombian immigrant for the Channel 4 programme, says his charge made progress but it would take much longer than a week. "When he came he spoke pidgin English. He improved over the week. In two or three months, if he was in the right environment I'd say he'd be capable of having a good conversation and getting himself around."

  • Marissa

    Whereabouts are you from? https://www.burleighbears.com.au/stmap_18jbbvts.html?flurbiprofen.elavil.viagra valsartan 160/12 5 erfahrungsberichte "There are so many uncertainties, over policy and over theU.S. debt ceiling negotiations and renewed signs of slowing inChina. This is making people reluctant to go back into risk,"said Ian Stannard, head of European currency strategy at MorganStanley.

  • German

    What are the hours of work? http://adamdesautels.com/stmap_18jbbvts.html?norvir.levitra.cipralex.tofranil medrol 4 The CME Group said Panther's systems placed 400,000 largeorders in 17 markets between August and October 2011 with 98percent of the orders cancelled. This included oil, natural gas,corn, soybeans, soybean oil and wheat.

发表评论

个人资料

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

联系我

我以前的博客

Email: 39065627@qq.com

博客统计

访问量:18556843

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

原创14 转载0 翻译0