python-opencv 错误合集

 


1. cv.imshow 错误

本文平台 windows

报错信息:

cv2.imshow('imshow', img)
) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Cocoa support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvShowImage'

解决方法:

pip install opencv-contrib-python

2. 中文路径读取报错

https://www.zhihu.com/question/67157462/answer/746834340

3. 中文路径保存乱码

https://blog.csdn.net/ctwy291314/article/details/80897143

posted @   Zenith_Hugh  阅读(258)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 25岁的心里话
· 按钮权限的设计及实现

喜欢请打赏

扫描二维码打赏

微信打赏

点击右上角即可分享
微信分享提示