Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人知道任何函数openCV或任何方法来获取以像素为单位的字符串长度吗?
openCV
例如,我有
字符串 c = "你好"
我用它来绘制图像cvPutText。如何获取该字符串占用的图像中该字符串的像素数?
cvPutText
您正在寻找getTextSize。