We will be using the following Python packages:
- python-qrcode — Python QR code image generator. Standard installation includes pillow as well for generating images.
- opencv-python — Open-source library for computer vision, machine learning, and image processing. It comes with built-in QRCodeDetector class, which helps to decode QR codes.
-
pip install qrcode[pil] -
pip install opencv-python