解决方案是安装 opencv-contrib-python ,我的python是使用anaconda安装,pycharm使用的ananconda的环境,所以直接用nanconda的安装解决
(base) C:\Users\18953>pip install opencv-contrib-python -i https://pypi.tuna.tsinghua.edu.cn/simple/
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Collecting opencv-contrib-python
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/81/3c/bbb3ceee9fbefc505f98c24dafda68c7b3c4f83b6951c0712b4623fe4cce/opencv_contrib_python-4.8.1.78-cp37-abi3-win_amd64.whl (44.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.8/44.8 MB 1.5 MB/s eta 0:00:00
Requirement already satisfied: numpy>=1.21.2 in d:\programfilesnew\lib\site-packages (from opencv-contrib-python) (1.24.3)
Installing collected packages: opencv-contrib-python
Successfully installed opencv-contrib-python-4.8.1.78
python cv.imshow 报错 the function is not implemented
最新推荐文章于 2024-04-29 16:16:18 发布