-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarification for baseline #100
Comments
The example comes from Tesseract wiki pages: https://github.com/tesseract-ocr/tesseract/wiki/FAQ#how-to-interpret-hocr-baseline-output |
Negative values for the last parameter for baseline are correct (even necessary):
|
My issues with the baseline property values are with the grammar:
|
Sorry got the BNF wrong: |
In the explanation of the baseline property, the spec says that "The polynomial is in the coordinate system of the line, with the bottom left of the bounding box as the origin."
In the example, the polynomial is
y = 0.015x - 18
So, at left edge of the bounding box,
y
should equal-18
relative to the bottom, left corner, and this is what the text says. However the picture has the baseline starting at+18
on the left edge.Further, I don't see how it's logically possible for the intercept to be a negative number since that would mean that the baseline started outside the bounding box. But the bounding box is supposed to always contain the baseline.
The text was updated successfully, but these errors were encountered: