Welcome to IMX 415 Camera Module repository
17. QR code recognition
QR Code Recognition
A QR code (Quick Response Code) is a matrix barcode made up of squares that can be used to store various types of information.
1. Install Dependencies
sudo apt install libzbar-dev -y
sudo pip3 install qrcode pyzbar --break-system-packages

2. Create a QR Code
cd ~/qr_code_recognition
python3 qrcode_create.py
After running the command, enter the hidden information of the QR code: the generated image is located in the /home/jetson/qr_code_recognition/figures folder

3. Parse the QR Code
3.1 IMX415 Camera
cd ~/qr_code_recognition
python3 qrcode_parsing_csi.py

FAQ
'PIL.Image' has no attribute 'Resampling'
sudo pip3 install --upgrade pillow