AttributeError: module 'cv2.cv2' has no attribute 'ximgproc'
- 报错如下
- 解决方法
报错如下
解决方法
多安装一个opencv-contrib模块
sudo pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple opencv-python==3.4.2.16 opencv-contrib-python==3.4.2.16
微信扫一扫