I know how to obtain the dimensions of the text using `cv::getTextSize()`, but this only works correctly for non-antialiased linetypes (default=8 and 4).
When using `CV_AA` (linetype=16) the text is partially outside the size defined by `cv::getTextSize()`.
↧