我完全按照这个简单的OpenCV特征匹配示例操作:
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