I’m building an OCR pipeline for invoices, delivery notes and receipts (native PDFs, scans, photos) that exports one Excel sheet per page: header fields, the item table as a real table, and totals. Every value carries a status: reliable, to verify or absent. The goal is that it never presents a guess as a certain value.
Two things I’d like your opinion on:
- How do you evaluate table reconstruction on scanned registers (40+ rows, 4 columns)? Mine sometimes keeps only a partial block, so I added a warning when the accepted table covers only a small share of the words of a larger candidate. Is there a better-established way to detect truncated tables?
- For field choice (total, date) I use small gradient-boosted models over OCR candidates with an abstention rule. They beat my rule-based version on receipts but lose on formal European invoices. Has anyone found a good way to route between the two by document type?
There is a short description of the project (early test, slow, access on request) here: DataStructa — de vos factures à un tableau lisible
Thanks for any pointers.