Opencv cv::putText
doesn't seem to support the chinese or japanese text (unicode string) to be overlayed on the image.
Is any workaround available?
cv::putText(img, //target image
"你好世界", //text
cv::Point(10, img.rows / 2), //top-left position
cv::FONT_HERSHEY_DUPLEX,
1.0,
CV_RGB(118, 185, 0), //font color
2);
However, the text written on the image is: "??????"