当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 0 Fork 0

ZVision / cylinder_qrcode
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Cylinder Qr Code Retifier Demo Example


This is my graduate project. Although I don't think it's useful, it's still a good learning material for OPENCV.

This project try to retify the qr code on cylinder surface, so that normal scanner could recognize the distorted qr code. However, there are still many problems here. I may fix them in the future.

System: Ubuntu 16.04

Building Step:

sudo apt install -y qt5-default qtcreator cmake cmake-gui
sudo apt install -y build-essential libgtk2.0-dev libavcodec-dev
sudo apt install -y libavformat-dev libjpeg.dev libtiff4.dev libswscale-dev libjasper-dev

cd cylinder_qrcode/opencv
tar -Jxvf opencv-3.4.1.tar.xz -C .
mkdir opencv_build
cd opencv_build
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local ../opencv-3.4.1

make -j4
sudo make install

Then the opencv3 and qt5 would be installed in your system successfully. After installing the requirements, cd to the source directory to build the source code:

cd cylinder_qrcode/src
qmake
make
./cylinder

You would see the following simple qt GUI now:

main

Click Browse to select qr code picture in cylinder_qrcode/datas, and press run, then the result may be:

res

The result picture may not seen to be great sometimes, so you may need to change the following parameters to get better result:

  • Blur Block Size
  • Thresh Block Size
  • Thresh Block Delta

Detail documentation could be found in: https://gitee.com/fsfzp888/cylinder_qrcode/tree/master/docs

空文件

简介

a project trying to rectify qr code on cylinder surface 展开 收起
C++
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C++
1
https://gitee.com/fsfzp888/cylinder_qrcode.git
git@gitee.com:fsfzp888/cylinder_qrcode.git
fsfzp888
cylinder_qrcode
cylinder_qrcode
master

搜索帮助