Calamari-OCR / calamari

Line based ATR Engine based on OCRopy
Apache License 2.0
1.04k stars 209 forks source link

calamari-predict: Glyph Coordinates are "strange" #311

Open stefanCCS opened 2 years ago

stefanCCS commented 2 years ago

In calamari-predict I have used --data.output_glyphs true to generated Glyphs (and Words) as PAGE output. This works fine in general. But looking at the coordinates of the Glyphs in detail, they are not located where they should be. In general they are looking very "small".

See e.g. this example: Here you can see with green the TextLine Box and in red the Word-Box (which is just the Container of the two Glyphs "2" and "7". image

Another example: Again, green TextLine Box and the 4 small green boxes on the left side are the Glyphs: image