Skip to content
All projects

Developer Tools

Receipt OCR

An efficient open-source OCR engine for receipt image processing. Combines Tesseract OCR for raw text extraction with LLM-powered structured data parsing — available as a CLI tool and FastAPI service.

760 stars91 forks

  • Python
  • OCR
  • LLM
  • FastAPI

Overview

Receipt OCR is a comprehensive solution for extracting structured data from receipt images. It ships two modules:

  • receipt_ocr — LLM-powered extraction pipeline with a CLI, programmatic API, and a production FastAPI service
  • tesseract_ocr — Raw text extraction via Tesseract OCR with Docker support

Quick Start

pip install receipt-ocr
export OPENAI_API_KEY="your_key"
receipt-ocr images/receipt.jpg

Features

  • Structured JSON output (merchant, items, totals, tax)
  • CLI and programmatic API
  • Docker-ready FastAPI service
  • Full test coverage via pytest + codecov
  • MIT licensed

Contact

Say hello.

Products, open-source tools, infrastructure, or a research idea: I'm open to talking about any of them. Message me on LinkedIn or leave a note in the chat; I read both.

Not ready to talk? Stay in the loop.

New posts, releases, and the occasional research note, sent only when there's something worth sharing.