r/computervision • u/trainsatr • Oct 06 '26
Help: Project OCR Recs: Image -> CSV/Excel
I work in a research lab, and need to digitize a few hundred pages of spreadsheets. All spreadsheets are printed, not handwritten, but the original files are lost. The images have the same general schema, but the columns aren't always in the same order, and some pages have columns that others don't. Some pages are fainter, but still readable; some are slightly slanted. The end goal is for all pages to be compiled into one master spreadsheet, with the same schema. What's the best (and cheapest) tool for this?
I have tried chatgpt (best so far, but still slow/made mistakes), Google Document AI (not that great), and ParseExtract (great, but more limited in scope).
1
u/FirestormCold Oct 30 '26
Have you found a solution? Flew over some of the comments and simply using OCR or an open source model probably won't cut it
1
u/liltingly Oct 06 '26
Paddle has a whole suite of tools in their pipeline to handle this. Docling also works. And datalab has some good products. If the spreadsheets are somewhat regular all you need is a script to align columns and rows to their headers and then remap to unique keys in the master.
What didn’t work with the tools you tried since they should have worked just as well as any I listed?
1
u/Infamous-Bed-7535 Oct 07 '26
Interesting problem. We could help much more if you would share a few samples.
1
u/Capable-Package6835 Oct 07 '26
Do all of your printed spreadsheets have cell borders? If so, it's significantly easier:
If you cannot guarantee that all printed sheets have cell borders, it's slightly more difficult. As you have encountered, even specialized models struggle with getting the correct structures. Give UnlimitedOCR from Baidu a try and test it on a couple of pages to see if that's accurate enough for you.
I did something similar a couple of months ago, but for printed tables instead of spreadsheets. Since that was for training data, having 0 mistake was the absolute requirement for me. Here's what I did:
I managed to do that for about 9000 printed tables in slightly more than a week (completely eye-strained though). So if you only need a couple of hundreds you should be able to do this in a day or two.
1
u/Potential-Wrangler58 Oct 07 '26
This is exactly what Anyformat is built for, disclosure: I work there. You define one master schema, and every page gets mapped to it by column header instead of position, so shuffled columns and missing ones stop being your problem. Faint and slanted pages are handled in the same pipeline, and you get a confidence score per field so you only check the doubtful cells instead of the whole sheet.
There are free credits, so just upload 10-15 of your worst pages and compare the output against what you got from ChatGPT and Document AI. If it holds up on those, run the full batch. Happy to help you set up the schema if you send me a DM.
Separately, whichever tool you use, check numeric columns against the totals where the originals have them, since digits are where every model slips.