Calculate the length of a string in pixels in openCV
c++, drawing, image, opencv, size
Solution
You're looking for getTextSize.
Problem
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?