-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
How to access detail_ImageFeatures.keypoint correctly in python? #16371
Copy link
Copy link
Closed
Labels
question (invalid tracker)ask questions and other "no action" items here: https://forum.opencv.orgask questions and other "no action" items here: https://forum.opencv.org
Description
I'm trying to use class ImageFeatures in python, but I cannot access keypoint attribute in cv2.detail_ImageFeatures. What should I do?
I'm working on MacOS with python 3.7 and opencv-python 4.1.2.30
Here is my code:
import cv2
In[1]: cv2.detail_ImageFeatures().getKeypoints
Out[1]:<function detail_ImageFeatures.getKeypoints>
In[2]: cv2.detail_ImageFeatures().keypoints
Out[2]: AttributeError: 'cv2.detail_ImageFeatures' object has no attribute 'keypoints'Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
question (invalid tracker)ask questions and other "no action" items here: https://forum.opencv.orgask questions and other "no action" items here: https://forum.opencv.org