how do we interpret the "baseline" output of cv2.getTextSize?
Question:
If I do this for example:
cv2.getTextSize('blahblah', cv2.FONT_HERSHEY_SIMPLEX, 2, 2)
it returns ((262, 43), 19)
so the width and height of the text in pixels are 262 and 43, but what is the 19?
Here it says it "corresponds to the y coordinate of the baseline relative to the bottom of the text" but this still doesn’t make it clear to me, as I’m not sure what the "baseline" is here?
Answers:
If I do this for example:
cv2.getTextSize('blahblah', cv2.FONT_HERSHEY_SIMPLEX, 2, 2)
it returns ((262, 43), 19)
so the width and height of the text in pixels are 262 and 43, but what is the 19?
Here it says it "corresponds to the y coordinate of the baseline relative to the bottom of the text" but this still doesn’t make it clear to me, as I’m not sure what the "baseline" is here?