GanWang / opencv-chinese-characters

Put Chinese characters Text with OpenCV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenCV显示中文汉字,未使用CvxText和FreeType库

采用windows的GDI显示系统的TrueType字体,没有封装,就两个函数,分成了h和cpp文件,可以自己编辑文件名和函数名,亦可以直接将cpp的代码复制到你需要的程序中。

putText.h

putText.cpp

test.cpp

csdn博客 https://blog.csdn.net/wanggao_1990/article/details/52955056

result

About

Put Chinese characters Text with OpenCV


Languages

Language:C++ 100.0%