Calamari-OCR / calamari

Line based ATR Engine based on OCRopy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Characters coordinates

gdabhishek opened this issue · comments

Hi @ChWick / @andbue,

How can I get the x1, y1, x2, y2 coordinates of each character, I need them for post-processing.

Thank You

If you're working with PAGE XML, you can set --output_glyphs to produce individual characters with coordinates. Otherwise, have a look at https://calamari-ocr.readthedocs.io/en/latest/doc.predicting.html#extended-prediction-data