Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how can i put text on image using opencv puttext function

hello guys

I am working on visual studio 2010 and opencv-2.4.9 and i want to put unicode text on image using puttext function but puttext function not working properly with unicode text(japanease,arabic etc) and dispaly text on image as"??????" but puttext() with english text work properly.

code snippet:

cv::Mat m=img;

cv::putText(m,"名前",cv::Point((m.cols/2,m.rows/2),cv::FONT_ITALIC,.5,cv::Scalar(180,180,180),1,CV_AA); please help me for showing unicode text on image

your help will be appreciated. thanks

how can i put text on image using opencv puttext function

hello guys

I am working on visual studio 2010 and opencv-2.4.9 and i want to put unicode text on image using puttext function but puttext function not working properly with unicode text(japanease,arabic etc) and dispaly text on image as"??????" but puttext() with english text work properly.

code snippet:

cv::Mat m=img;  

cv::putText(m,"名前",cv::Point((m.cols/2,m.rows/2),cv::FONT_ITALIC,.5,cv::Scalar(180,180,180),1,CV_AA); please help me for showing unicode text on image

image

your help will be appreciated. thanks