About qr-barcode-reader
A Python skill and CLI for decoding QR codes and barcodes from images, including batch input and structured output. It supports workflows such as inventory tracking, document checks, and event check-in.
Key features
- 01Reads QR and multiple barcode formats
- 02Batch-scans images
- 03Extracts text, URLs, and structured data
- 04Preprocesses images for recognition
- 05Validates barcode checksums
- 06Exports results as JSON or CSV
Use cases
- 01Track inventory from barcode images
- 02Look up product information
- 03Verify documents using codes
- 04Process event check-ins
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ dkyazzentwatwa/ chatgpt-skills --skill qr-barcode-readerAfter installing, type/qr-barcode-readerin Claude Code to confirm it loaded.
Bundled filesscripts/qr_barcode_reader.pyscripts/requirements.txt
Details
From the project READMEQR/Barcode Reader
Decode and extract data from QR codes and barcodes in images with support for multiple barcode formats.
Purpose
Barcode scanning for:
- Inventory management and tracking
- Product information lookup
- Document verification
- Event check-in systems
- Automated data entry
Features
- Multiple Formats: QR Code, EAN-13, Code128, Code39, UPC-A, DataMatrix
- Batch Processing: Scan multiple images in one operation
- Data Extraction: Decode to text, URLs, structured data
- Image Preprocessing: Auto-rotation, enhancement for better recognition
- Validation: Verify barcode checksums
- Export: JSON, CSV output with decoded data
Quick Start
from 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'])
CLI Usage
# Read single image
python qr_barcode_reader.py image.png
# Batch read directory
python qr_barcode_reader.py images/*.png --output results.json
Comments
Markdown supported