-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to install freetype? #12
Comments
ft.loadFontData(fontFileName='wqy-zenhei.ttc', id=0) # 文泉驿的开源中文字体 ch6 文件夹里有个wqy-zenhei.ttc文件 |
@makelove C++中是由freetype这个模块的,但是python似乎没有把这个编译进去。您是怎么操作的呢? 谢谢! |
@makelove 我的python是3.6.8的。安装了opencv-contrib-python也不行 |
这是我电脑上的版本 |
看看 输出是不是 4.1.2 如果不是,就是调用错误 建议还是在LInux平台上开发 |
解决 你自己搞吧 |
@makelove |
@makelove |
我也是MacBook |
opencv-python默认不构建FreeType模块,如果有需要可以下载源码进行构建(-DWITH_FREETYPE=ON),参考[text]绘制中文字符 |
您好 我看到cha6 有用到freetype ,请问怎么安装呢?
The text was updated successfully, but these errors were encountered: