准备材料: 1、中文汉字库 2、中文显示扩展类 cvxFont.h #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; double spaceRatio; double fontRatio; double fontRotateAngle; double fontDiaphaneity; bool fontIsUnderline; bool fontIsVertical; }; class CvxFont { public: explicit CvxFont(const cv::String&...