python彩色二维码及解析二维码

上传者: 20154743 | 上传时间: 2021-09-18 14:27:54 | 文件大小: 5.57MB | 文件类型: ZIP
#python2.6 import zbar scanner = zbar.ImageScanner() scanner.parse_config("enable") pil = Image.open("char.png").convert('L') width, height = pil.size raw = pil.tostring() image = zbar.Image(width, height, 'Y800', raw) scanner.scan(image) data = '' for symbol in image: data+=symbol.data del(image)

文件下载

资源详情

[{"title":"( 29 个子文件 5.57MB ) python彩色二维码及解析二维码","children":[{"title":"zbar-0.10.win32-py2.6.exe <span style='color:#111;'> 205.73KB </span>","children":null,"spread":false},{"title":"python qrcode生成彩色二维码 - Mchange的专栏 - 博客频道 - CSDN.pdf <span style='color:#111;'> 573.03KB </span>","children":null,"spread":false},{"title":"zbar-0.10-setup.exe <span style='color:#111;'> 3.11MB </span>","children":null,"spread":false},{"title":"zbar-0.10.win32-py2.5.exe <span style='color:#111;'> 74.20KB </span>","children":null,"spread":false},{"title":"zbar-0.10","children":[{"title":"MANIFEST.in <span style='color:#111;'> 91B </span>","children":null,"spread":false},{"title":"symboliter.c <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false},{"title":"symbolset.c <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"PKG-INFO <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false},{"title":"zbarmodule.c <span style='color:#111;'> 6.66KB </span>","children":null,"spread":false},{"title":"image.c <span style='color:#111;'> 11.70KB </span>","children":null,"spread":false},{"title":"imagescanner.c <span style='color:#111;'> 5.86KB </span>","children":null,"spread":false},{"title":"symbol.c <span style='color:#111;'> 5.21KB </span>","children":null,"spread":false},{"title":"examples","children":[{"title":"read_one.py <span style='color:#111;'> 581B </span>","children":null,"spread":false},{"title":"processor.py <span style='color:#111;'> 729B </span>","children":null,"spread":false},{"title":"scan_image.py <span style='color:#111;'> 585B </span>","children":null,"spread":false}],"spread":true},{"title":"test","children":[{"title":"barcode.png <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"test_zbar.py <span style='color:#111;'> 13.15KB </span>","children":null,"spread":false}],"spread":false},{"title":"decoder.c <span style='color:#111;'> 8.38KB </span>","children":null,"spread":false},{"title":"setup.py <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"scanner.c <span style='color:#111;'> 5.14KB </span>","children":null,"spread":false},{"title":"zbarmodule.h <span style='color:#111;'> 3.99KB </span>","children":null,"spread":false},{"title":"enum.c <span style='color:#111;'> 5.14KB </span>","children":null,"spread":false},{"title":"exception.c <span style='color:#111;'> 4.14KB </span>","children":null,"spread":false},{"title":"processor.c <span style='color:#111;'> 10.60KB </span>","children":null,"spread":false},{"title":"MANIFEST <span style='color:#111;'> 272B </span>","children":null,"spread":false},{"title":"README <span style='color:#111;'> 1003B </span>","children":null,"spread":false}],"spread":false},{"title":"python 使用zbar解码二维码 - kkxgx的专栏 - 博客频道 - CSDN.pdf <span style='color:#111;'> 644.98KB </span>","children":null,"spread":false},{"title":"zbar-0.10.tar.gz <span style='color:#111;'> 697.71KB </span>","children":null,"spread":false},{"title":"python生成和解析二维码 - 王伟 - 51CTO技术博客.pdf <span style='color:#111;'> 622.88KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • qq259004638 :
    解码是用python26,可惜不能在python27下使用
    2015-07-08

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明