Skip to content

A Python Program that uses OpenCV to detect and extract data from QR Codes in Images or in Live Video

Notifications You must be signed in to change notification settings

Gill-Singh-A/QR-Code-Reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

QR Code Reader

A Python Program that uses OpenCV to detect and extract data from QR Codes in Images or in Live Video.

Requirements

Language Used = Python3
Modules/Packages used:

  • cv2
  • datetime
  • optparse
  • time
  • colorama

Install the dependencies:

pip install -r requirements.txt

Inputs

It takes the following arguments from the command that is used to run the Python Program:

  • '-s', "--save" : Name of the file to save Data extracted from the QR Code
  • '-i', "--image" : Load Image from the given file

Output

If no image path is provided, then the Program will start the Default Camera of the Device and start detection of QR Codes and will display the extracted data.
It no output file name is provided, then the data is saved in a file with name as the current date and time.

About

A Python Program that uses OpenCV to detect and extract data from QR Codes in Images or in Live Video

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages