[英]google Colaboratory opencv xfeatures2d_SURF
!pip install opencv-python && pip install opencv-contrib-python
Requirement already satisfied: opencv-python in /usr/local/lib/python3.6/dist-packages Requirement already satisfied: numpy>=1.11.3 in /usr/local/lib/python3.6/dist-packages (from opencv-python) Requirement already satisfied: opencv-contrib-python in /usr/local/lib/python3.6/dist-packages Requirement already satisfied: numpy>=1.11.3 in /usr/local/lib/python3.6/dist-packages (from opencv-contrib-python) 已满足要求:/usr/local/lib/python3.6/dist-packages中的opencv-python已满足要求:/usr/local/lib/python3.6/dist-packages中的numpy> = 1.11.3(来自opencv -python)已满足要求:/usr/local/lib/python3.6/dist-packages中的opencv-contrib-python已满足要求:/usr/local/lib/python3.6/dist中的numpy> = 1.11.3 -packages(来自opencv-contrib-python)
import cv2
cv2.xfeatures2d_SURF
AttributeError: module 'cv2.cv2' has no attribute 'xfeatures2d_SURF' AttributeError:模块'cv2.cv2'没有属性'xfeatures2d_SURF'
Why does not it work? 为什么不起作用?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.