Does anybody know any functions that openCV has or any methods to get the length of a string in pixels?
For example, I have
string c = “Hello”
and I use it to draw to an image by cvPutText. How can I get the numbers of pixels of that string in that image the string occupied?
You’re looking for getTextSize.