QR-detection-and-Distance-Estimation

QR code Detection and Distance Estimation opencv Python, it more accurate version of distance Estimation,

MIT License

Stars
40

QR detection and Distance Estimation using Single1️⃣ camera πŸ“· opencv python πŸ‘οΈπŸ‘οΈ

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.

Real time Distance Estimation

Installation

Requirements:

  • Python 3.6.(Pyzbar works on fine Python 3.6.2)
  • pyzbar
  • opencv
  • numpy

Windows

  • 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

Linux

(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

Mac

(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


TO DO

  • QR code detection πŸ’‘

  • Euclidean distance (to find the width of QR code, more accurately) πŸ’‘

  • Find Distance between cameraπŸ‘οΈ and QR code πŸ’‘

  • 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

πŸ’šπŸ–€ Join me on Social Media πŸ–€πŸ’š