dzieciou
dzieciou

Reputation: 4524

Meaning of x_descenders and x_ascenders in hOCR file?

Here's the line from Tesseract 4 output (.hocr file):

<span class='ocr_line' 
      id='line_1_1' 
      title="bbox 36 92 580 122; baseline 0 -6; x_size 30; x_descenders 6; x_ascenders 6">

What's the meaning of x_descenders and x_ascenders properties?

I know in typography a descender is "the portion of a letter that extends below the baseline of a font". But there are situations when x_descenders is not an integer but a float like in x_descenders 5.2608695. Then what that would mean?

Then I wonder how to interpret decimal parts of

Upvotes: 3

Views: 824

Answers (0)

Related Questions