4 ms·
This is nice but Tesseract does not perform well when it comes to tables, at least when I tried it on multiple documents. It would miss some cells from a table
by Oras 3y ago
This is nice but Tesseract does not perform well when it comes to tables, at least when I tried it on multiple documents.
It would miss some cells from a table, or does not recognise all the numbers when they have commas.
- simonw 3y agoTables are still the big unsolved problem for me. There are a ton of potential tools out there like Tabula and AWS Textract table mode but none of them have felt like the perfect solution. I've been trying Gemini Pro 1.5 and Claude 3 Opus and they looked like they worked... but in both cases I spotted them getting confused and copying in numbers form the wrong rows. I think the best I've tried is the camera import mode in iOS Excel! Just wish there was an API for calling that one programmatically.
- sumedh 3y agoGoogle and Azure have their own PDF Table extraction service but I have noticed Textract is a bit better.
- CharlesW 3y agoOut of curiosity have you tried ocrs by Robert Knight? https://github.com/robertknight/ocrs https://github.com/robertknight/ocrs
- simonw 3y agoNo I hadn't heard of that one!
- maCDzP 3y agoI think the camera import on Excel MacOS works pretty well. You could probably call that version through an API.
- lennxa 3y agoWould this be helpful? https://github.com/facebookresearch/nougat https://github.com/facebookresearch/nougat Seems like it can handle tables.
- f_k 3y agoIf you're on Windows try https://table2xl.com https://table2xl.com (disclosure: I'm the founder), it's more accurate than Excel's camera import. No API though.
- constantinum 3y agoAs mentioned above, give Unstract a try: https://github.com/Zipstack/unstract https://github.com/Zipstack/unstract