QR-detection-and-Distance-Estimation icon indicating copy to clipboard operation
QR-detection-and-Distance-Estimation copied to clipboard

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

QR detection and Distance Estimation using Single:one: camera :camera: opencv python :eye::eye:

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

Output of QR code detection

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

  • [x] QR code detection :bulb:

  • [x] Euclidean distance (to find the width of QR code, more accurately) :bulb:

  • [x] Find Distance between camera:eye: and QR code :bulb:

  • [x] Distance is calculated and Displayed on Screen :bulb:

  • [x] Improve the Visual representation :green_heart:

  • [ ] 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 Instagram

💚🖤 Join me on Social Media 🖤💚

YouTube AiPhile Youtube GitHub GitHub Medium Medium Instagram Instagram