c++ - OpenCV 2.4 inputText doesn't work correct -


every time when run following program writing text in image writes 5 random chars instead of input text. can be? memory leak or font error? opencv 2.4 in python works correctly not in c++.

mat img = imread("e:\\projects\\mediagui\\lena.jpg"); puttext(img, "text testing..", point(150, 150), cv_font_italic, 3, scalar(0, 0, 0)); imwrite("e:\\projects\\mediagui\\lenaprocessed.jpg", img); img.addref(); img.release(); 

result img: http://postimg.org/image/kn4hoyjnh/


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -