QR code Detection and Distance Estimation opencv Python, it more accurate version of distance Estimation, face detection and distnace Estimation, and it is open source project, feel free to contribute.
Requirements:
- Python 3.6.(Pyzbar works on fine Python 3.6.2)
- pyzbar
- opencv
- numpy
-
installation of pyzbar is not required on windows caused it shiped with python 3.6 wheel files.
-
python packages
pip install opencv-python pyzbar numpy
-
Run the code
python main.py
(I have't tried yet on linux) if you do, please let me known.
-
Install PyZbar
sudo apt-get install libzbar0
-
Install python packages
pip3 install opencv-python numpy pyzbar
-
Run
python3 main.py
(I have't tried yet on Mac) if you do, please let me known.
-
Install PyZbar
brew install zbar
-
Install python packages
pip3 install opencv-python numpy pyzbar
-
Run
python3 main.py
-
QR code detection 💡
-
Euclidean distance (to find the width of QR code, more accurately) 💡
-
Find Distance between camera:eye: and QR code :bulb:
-
Distance is calculated and Displayed on Screen 💡
-
Improve the Visual representation 💚
-
QR code Following Robot/Drone Example
I have create complete video on Youtube about Distance Estimation uisng single camera opencv python, which explains how things works
If You have any Question or need help in CV Project, Feel free to DM on Instagram