Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

QRWorker.py

QRWorker.py contains a function called qr_worker() that creates a QRScanner object. qr_worker() also uses opencv and the imshow() method to display the updated frame after the QRScanner object is created. In the QRScanner class, functions are defined that find a QR code in an image, decode the the QR code, and draw bounding boxes within the given frame. The QRScanner class also imports the pyzbar module that allows the program to read barcodes or QR codes and decode them. The stacked procedures are shown below.

...