Receipt OCR Tracker

Security

Pixel Termux receipt snap → OCR tesseract → parse CSV expense report (date/item/amount/total tax). Triggers for "scan receipt Pixel", "OCR expense CSV", "track business receipt". Outputs Google Sheets ready CSV/MD for freelancers/small biz.

Install

openclaw skills install receipt-ocr-tracker

Receipt OCR Tracker

Quick Start

  1. Camera snap receipt → save ~/storage/downloads/photo.jpg
  2. cd scripts
  3. python3 ocr.py ~/storage/downloads/photo.jpg
  4. expenses.csv ready.

Examples

Grocery receipt: Input: Milk $5.99, Bread $12.50, Total $19.24 (GST $1.75) Output CSV: date,item,amount,gst,total 2026-03-28,Milk,5.99,0.60,6.59 2026-03-28,Bread,12.50,1.25,13.75 Total,,19.24,1.85,21.09

Business lunch: Parses subtotal, tax, tip, total.

Parsing Rules

  • Amount: $(\d+.\d{2})
  • Date: \d{1,2}/\d{1,2}/\d{4}
  • Item: Line before amount.
  • Total: Last $ line.

85% accuracy blurry OK.

Usage Workflow

User: "OCR this receipt photo.jpg" Agent: exec ocr.py → CSV attach MD summary.

Troubleshooting

No tesseract: pkg install tesseract Blurry: Resnap high light. No PIL: pkg install python-pillow