mcpField
R
receipt-scanner

receipt-scanner

github.com/dkyazzentwatwaDocuments12473 installsUpdated 29w ago
Repository

About receipt-scanner

receipt-scanner is a Python skill for extracting structured fields from receipt images. It supports individual and batch processing, with JSON or CSV output.

Key features

  1. 01OCR text extraction
  2. 02Vendor, date, item, amount, tax, and total extraction
  3. 03JPG, PNG, and PDF support
  4. 04JSON and CSV export
  5. 05Batch receipt processing

Use cases

  1. 01Convert receipt images into structured records
  2. 02Process a folder of receipts into a CSV file

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/dkyazzentwatwa/chatgpt-skills --skill receipt-scanner

After installing, type/receipt-scannerin Claude Code to confirm it loaded.

Bundled filesscripts/receipt_scanner.pyscripts/requirements.txt

Details

From the project README

Receipt Scanner

Extract structured data from receipt images using OCR.

Features

  • OCR Processing: Extract text from receipt images
  • Data Extraction: Vendor, date, items, amounts, total, tax
  • Pattern Matching: Smart regex patterns for receipts
  • Multi-Format Support: JPG, PNG, PDF receipts
  • JSON/CSV Export: Structured data output
  • Batch Processing: Process multiple receipts

CLI Usage

python receipt_scanner.py --input receipt.jpg --output data.json
python receipt_scanner.py --batch receipts/ --output receipts.csv

Dependencies

  • pytesseract>=0.3.10
  • pillow>=10.0.0
  • opencv-python>=4.8.0
  • pandas>=2.0.0

Comments

Markdown supported