News for hackers. Stuff that matters.
Re:Mistral OCR 4.1 by merb on Thursday August 13, 2026 @03:03PM (#49290503)
Tbf even with tesseract you already get shit ton of accuracy and you can probably do these 1000 pages for way less than 3.5€. For 3.5€ you can spin up a cloud instance with 8vCPU+32gb on gcloud for 11 hours (or 11 instances for an hour) which can do way more than 1000 pages per hour on tesseract. It takes you around 6 second per page +-4 seconds start/stop depending on what you are doing on that instance size without too much optimization (you can probably even run multiple processes on a single node)

Google documentai costs 1.5$ per 1000 which is probably better in quality and speed.

Re:Mistral OCR 4.1 by kergonath on Thursday August 13, 2026 @04:02PM (#49291141)
Tesseract is not a substitute for these models, which understand complex layouts and also extract bounding boxes for things like tables and pictures. They are also much better at making sense of cursive scripts.

I’ve been there, implementing a way to linearise text from a document with pages with 1, 2 or 3 columns, some of them in landscape is a nightmare. And that’s not even considering equations.

In the end it’s way easier to use a specialised model, trained by other people to do exactly what I need.

Re:Mistral OCR 4.1 by peri-cl on Friday August 14, 2026 @06:13AM (#49296745)
> "I’ve been there, implementing a way to linearise text from a document with pages with 1, 2 or 3 columns, some of them in landscape is a nightmare."

I thought it's actually a fun problem! Some of the naive solutions (based on alternating horizontal/vertical recursion) are quite elegant and cool.

Re:Mistral OCR 4.1 by kergonath on Friday August 14, 2026 @07:35AM (#49297412)
It was fun!

What was not so fun was to make it work reliably. I ended up with piles of ugly code to handle edge cases, and issues kept piling up. So in the end I was happy to use someone else’s solution.

Re:Mistral OCR 4.1 by tjoff on Thursday August 13, 2026 @04:57PM (#49291762)
Tesseract is super picky though often failing pixel-perfect screenshots...

So, maybe it can be tuned for your usecase but with that kind of investment €3.5 for 1000 pages is a bargain...

Re:Mistral OCR 4.1 by merb on Thursday August 13, 2026 @05:30PM (#49292114)
It‘s also cheaper than the murican ones from Google, Amazon, …. And tesseract was an example. Heck you can go xberg and use paddleocr. Most often layout is less of a problem for ocr. Most often you need high accuracy, which tools like these are often worse in the 95 percentile.
Re:Mistral OCR 4.1 by v3ss0n on Thursday August 13, 2026 @09:05PM (#49293634)
Are you serious? Tasserect is the worst compare to PaddleOCR , Surya/Marker