Minor/Major Project.
-
Python 2 or 3.
-
Python 2 package zbar.
sudo pip install zbar
-
Python3 packages zbarlight, numpy, pyqrcode, pypng.
sudo pip3 install zbarlight numpy pyqrcode pypng
-
OpenCV 2 or 3.
- Install zbar developmental headers.
sudo apt-get install libzbar0 libzbar-dev
- Install zbar developmental headers from here.
- Install zbar developmental headers.
brew install zbar
-
From Terminal, run
python QR\ Encoding.py
(for Python 2) orpython3 QR\ Encoding.py
(for Python3). -
Enter data to be converted to QR code.
-
The default error control value for creating QR codes is 'Q'. You can change this value if you want higher error control capacity.
-
From Terminal, run
python QR\ Decoding.py
(for Python 2) orpython3 QR\ Decoding.py
(for Python3). -
A camera window will pop up. Bring the QR code to be decoded near the camera.
-
The decoded output will be shown in the terminal window.
-
Press 'Q' to quit when you are done.
GNU General Public License v3 (GPLv3). See the LICENSE file for full details.