零、源码 GitHub - ITC-AI/Opencv_Chinese: C++ 的 Opencv绘制中文 一、代码编写 参考 https://blog.csdn.net/long630576366/article/details/131440684 #ifndef OPENCVUNICODE_CVXFONT_H #define OPENCVUNICODE_CVXFONT_H #include <ft2build.h> #include FT_FREETYPE_H #include <opencv2/opencv.hpp> #include <typeinfo> #include <codecvt> #include <string> #include <locale> namespace cvx { struct FontProperty { int fontSize; // font size (pixel) double spaceRatio; // ratio of distance when meet a space, base on font size double...