Loading...
Loading...
Use when asked to scan, decode, read, or extract data from QR codes or barcodes in images.
npx skill4agent add dkyazzentwatwa/chatgpt-skills qr-barcode-readerfrom qr_barcode_reader import QRBarcodeReader
# Read QR code
reader = QRBarcodeReader()
result = reader.read_image('qr_code.png')
print(result.data) # Decoded text
# Batch read directory
results = reader.read_directory('images/', formats=['qr', 'ean13'])# Read single image
python qr_barcode_reader.py image.png
# Batch read directory
python qr_barcode_reader.py images/*.png --output results.json