C++使用二维码识别库Zbar识别二维码图像

63 篇文章 31 订阅 ¥39.90 ¥99.00
85 篇文章 6 订阅
本文介绍了如何在C++中利用开源库Zbar进行二维码识别。Zbar支持多种条形码类型,包括EAN-13/UPC-A、Code 128等,并提供了与Qt、GTK+、Python等平台的接口。它的工作原理接近线性扫描,通过独立处理层实现流式模型。教程包括下载和安装Zbar以及OpenCV,然后展示了一个编译连接的C++ demo。
摘要由CSDN通过智能技术生成

ZBar is an open source software suite for reading bar codes from various sources, such as video streams, image files and raw intensity sensors. It supports many popular symbologies (types of bar codes) including EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code.

The flexible, layered implementation facilitates bar code scanning and decoding for any application: use it stand-alone with the included GUI and command line programs, easily integrate a bar code scanning widget into your Qt, GTK+ or PyGTK GUI application, leverage one of the script or programming interfaces (Python, Perl, C++) …all the way down to a streamlined C library suitable for embedded use.

ZBar is licensed under the GNU LGPL 2.1 to enable development of both open source and commercial projects.

How does it work?

A common design for a bar code “image scanner” is to apply digital image processing techniques to an image containing a bar code: exac

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

百口可乐__

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值