报错
AttributeError: module ‘cv2.cv2’ has no attribute ‘TrackerKCF_create’
类似AttributeError: module ‘cv2.cv2’ has no attribute “xxxx"
解决方法
先卸载:pip uninstall opencv-contrib-python
再重新安装:pip install opencv-contrib-python
成功:
AttributeError: module ‘cv2.cv2’ has no attribute ‘TrackerKCF_create’
类似AttributeError: module ‘cv2.cv2’ has no attribute “xxxx"
先卸载:pip uninstall opencv-contrib-python
再重新安装:pip install opencv-contrib-python
成功:
微信扫码登录