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