For some reason, I need to put Chinese text in an cropped image. I have used the method \"putText\" in cv2 to achieve the goal.
Here is the code I use:
c
The problem is that OpenCV only has the Hershey font, which does not include Chinese characters. So you need something else. There is an OpenCV extension library that appears to address the issue.
The program at http://opencv-extension-library.googlecode.com/svn/doc/r263/classCvxText.html#2b5076328cd67ffffd5a4eecc8e00cba3e certainly looks like it is trying to load a font and draw characters in an image.