Skip to content

Latest commit

 

History

History
 
 

gen2-qr-code-scanner

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

QR Code detection

This demo uses qr_code_detection_384x384 neural network to detect QR codes.

Tutorial

We wrote a Deploying QR code detector model tutorial that provides step-by-step details on how to convert, compile and deploy a custom AI model (WeChat QR Code detection model) to the device. Deployment part focuses on how this demo was developed.

Demo

demo

Decoding

Inside the main.py code you have an option (DECODE=True) to also decode the QR code detected. Decoding is performed on the host using the OpenCV library.

Install project requirements

python3 -m pip install -r requirements.txt

Run this example

python3 main.py