logoalt Hacker News

kergonathyesterday at 8:02 PM1 replyview on HN

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.


Replies

peri-cltoday at 10:13 AM

> "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.

show 1 reply