README.md 1.2 KB

OpenCV QR Code Scanner ( C++ and Python )

This repository contains the code for OpenCV QR Code Scanner ( C++ and Python ) blog post.

download

This code requires OpenCV 3.4.4 or above or later.

For C++

How to compile the code

Specify the OpenCV_DIR in CMake option

cmake -D OpenCV_DIR=<path to opencv install directory>/lib/cmake/opencv4/ .
make

OR First Specify the OpenCV_DIR in CMakeLists.txt file. Then,

cmake .
make

How to Run the code

C++

./qrCodeOpencv <filename>

Python

python qrCodeOpencv.py <filename>

Note : If you dont give any filename, it will use the default image provided.

AI Courses by OpenCV

Want to become an expert in AI? AI Courses by OpenCV is a great place to start.