You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using ocrd-calamary-recognize with textequiv_level word, pc:Word-spans appear to have wrong y-coordinates in the Coords-spans. It looks like all words are lowered to the bottom of the text region they belong to.
For instance :
When drawing the line polygons, the coords are right :
But when drawing the word polygons, the coords are wrong :
I am using cv2 to draw the polygons, but I double-checked in the PAGE xml file, and words of a text-region (sometimes the entire page) all have the same y-coordinates.
Here is the entire code used to generate the OCR :
@sven-nm Please note that glyph support in ocrd_calamari is not super useful for image based use cases¹, you might want to explore what ocrd_tesserocr has to offer in this regard.
¹ I implemented it to produce glyph alternatives, but the CTC based coordinates are not suitable for e.g. image extraction
Hi all,
When using
ocrd-calamary-recognize
withtextequiv_level word
,pc:Word
-spans appear to have wrong y-coordinates in theCoords
-spans. It looks like all words are lowered to the bottom of the text region they belong to.For instance :
When drawing the line polygons, the coords are right :
But when drawing the word polygons, the coords are wrong :
I am using cv2 to draw the polygons, but I double-checked in the PAGE xml file, and words of a text-region (sometimes the entire page) all have the same y-coordinates.
Here is the entire code used to generate the OCR :
The text was updated successfully, but these errors were encountered: