dimanche 2 juillet 2023

Overlaying on english text (chinese / Japanese) on Image with opencv c

Opencv cv::putText doesn't support chinese / japanese (unicode string) to be overlayed on the image.

Any work around we 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);

But Text written on Image : "??????"

Aucun commentaire:

Enregistrer un commentaire