mcpField
Q
qr-barcode-reader

qr-barcode-reader

github.com/dkyazzentwatwaData & databases124103 installsUpdated 29w ago
Repository

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

  1. 01Reads QR and multiple barcode formats
  2. 02Batch-scans images
  3. 03Extracts text, URLs, and structured data
  4. 04Preprocesses images for recognition
  5. 05Validates barcode checksums
  6. 06Exports results as JSON or CSV

Use cases

  1. 01Track inventory from barcode images
  2. 02Look up product information
  3. 03Verify documents using codes
  4. 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-reader

After installing, type/qr-barcode-readerin Claude Code to confirm it loaded.

Bundled filesscripts/qr_barcode_reader.pyscripts/requirements.txt

Details

From the project README

QR/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