I want to compute SURF Features from keypoints that I specify. I am using the Python wrapper of OpenCV. The following is the code I am trying to use, but I cannot find a working example anywhere.
surf = cv2.SURF()
keypoints, descriptors = surf.detect(np.asarray(image[:,:]),None,useProvidedKeypoints = True)
How can I specify the keypoints to be used by this function?
Similar, unanswered, question: cvExtractSURF don't work when useProvidedKeypoints = true