![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Zbar
Mmagic1
自律带来自由!
展开
-
ubuntu16.04安装Zbar
一、安装依赖项1、sudo apt-get install python-gtk2-dev2、sudo apt-get install libjpeg9或者 下载jpegsrc http://www.imagemagick.org/download/delegates/ 下载 jpegsrc.v9.tar.gz cd jpeg-9 sudo ./co...原创 2018-08-15 16:45:16 · 3007 阅读 · 0 评论 -
Cmakelists配置zbar
#Zbarfind_package(Zbar0)target_link_libraries(${PROJECT_NAME} ${ZBAR_LIBS} zbar)原创 2018-08-15 17:50:51 · 2094 阅读 · 7 评论 -
Zbar扫描条形码代码
#include <zbar.h> zbar::ImageScanner scaner; scaner.set_config(zbar::ZBAR_NONE,zbar::ZBAR_CFG_ENABLE,1); int width = img_gray.cols; int height = img_gray.rows; //在ZBar...原创 2018-08-20 09:35:13 · 2278 阅读 · 0 评论