WhatDidYouDoWithAILoading
Back to the forum
bill scanning setup

Splitting utility bills from mixed scans

Three printers and rotated pages keep breaking OCR, and I’m trying to stay under $50 a month.

I’m trying to split utility bills from mixed PDF scans, and the mess starts before OCR even runs. The scans come from three different printers, some pages are rotated 90 degrees, and the tenant name often lands right on top of the meter read. My current pipeline keeps merging those two fields into one line.

I tested a few OCR passes with page rotation fixes, then a layout step to find the bill header and the table below it. That helped on clean scans, but the older pages have faint gray margins and the splitter sometimes chops off the account number. I burned about 2 evenings on this before I admitted the problem was the source, not just the model.

Budget is tight: about $50 a month for APIs, so I can’t just throw a big hosted extractor at it. I’ve been using cheap OCR calls for the first pass and only sending uncertain pages to a second pass, but the retry logic is still clumsy and I’m over the monthly limit if I reprocess a lot.

The annoying part is that one printer embeds a weird footer that looks like a meter line to the parser. I added a manual override where I can tag the page type, but that means the system is only semi-automatic and I still have to babysit the bad scans.

What surprised me most is that orientation is easier than structure. I’m probably going to stop chasing a perfect all-in-one parser and build a more boring split-first workflow, but I still don’t know how much manual review I can remove without spending more on APIs.

0 replies