Receipt ocr extract

From XuShuwenn/RedAct · View interactive version

Receipt ocr extract is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Extract receipt dates and final totals from images via Tesseract OCR and write a single-sheet Excel report with deterministic formatting.

How to use this skill

Skill file

Receipt OCR Extraction and Excel Reporting

This skill extracts two key fields from scanned receipt images:

It uses Tesseract OCR with light image preprocessing and a prioritized keyword-and-exclusion parsing strategy to identify the final payable total, then writes results to a single-sheet Excel file with strict schema.

When to Use

Activate this skill when a user asks to:

Core Workflow

  1. Collect inputs
  1. OCR preprocessing and extraction
  1. Date parsing
  1. Total amount parsing (final payable total)
  1. Excel output

Verification

Before delivering results:

Common Pitfalls and Mitigations

Optional Script Usage

A reusable script is provided under scripts/receipt_ocr_to_excel.py.

Usage:

Notes:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.