Skip to content

This Python script to detect and decode QR codes in real-time from a live webcam feed. It is a handy tool for instant QR code scanning applications, such as inventory management and digital ticketing.

License

Notifications You must be signed in to change notification settings

AmirTahaMim/RealTime-QR-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

RealTime-QR-Detection

This is a Python script that uses OpenCV and pyzbar to detect and decode QR codes from a webcam feed.

Requirements

Before running the script, make sure you have the following libraries installed:

  • OpenCV (opencv-python)
  • pyzbar (pyzbar)

You can install the required libraries using pip:

pip install opencv-python pyzbar

How to Use

  1. Clone this repository or download the script RealTimeQR_Detector.py to your local machine.

  2. Make sure you have a webcam connected to your computer.

  3. Open a terminal or command prompt and navigate to the directory containing the script.

  4. Run the script using the following command:

python RealTimeQR_Detector.py

  1. The script will start the webcam feed, and it will continuously search for QR codes in the video frames.

  2. When a QR code is detected, it will draw a rectangle around it and print the decoded data in the console.

  3. To quit the program, press the 'q' key.

Acknowledgements

License

This project is licensed under the MIT License. Feel free to use and modify it according to your needs.

About

This Python script to detect and decode QR codes in real-time from a live webcam feed. It is a handy tool for instant QR code scanning applications, such as inventory management and digital ticketing.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages