【发布时间】:2018-10-02 22:22:56
【问题描述】:
我完全遵循了这个简单的OpenCV Feature Matching example:
import cv2
img = cv2.imread('box.png',0) # queryImage
orb = cv2.ORB() # Initiate ORB detector
# find the keypoints and descriptors with ORB
kp1, des1 = orb.detectAndCompute(img, None)
并且一直收到以下错误:
TypeError: Incorrect type of self (must be 'Feature2D' or its derivative)
我正在使用 OpenCV 3.3.1
【问题讨论】:
标签: python opencv image-processing computer-vision opencv3.0