AttributeError: module 'cv2.cv2' has no attribute 'Tracker_create'

opencv3.4,opencv-python也安装了,但还是报错

后来上谷歌,才解决这个问题

需要安装opencv-contrib-python

pip3 install opencv-contrib-python

 

From:AttributeError: module 'cv2.cv2' has no attribute 'Tracker_create'

你可能感兴趣的:(Python,opencv)