System: Jetson Nano, JetPack 4.6.1.
I tried running a code using SIFT for feature extraction, and i got the following error.
sift = cv2.xfeatures2d.SIFT_create(contrastThreshold=peak_thresh, edgeThreshold=edge_threshold)
AttributeError: module ‘cv2’ has no attribute ‘xfeatures2d’
Can anyone solve? Or tell me a work around. Thank you!
Thank you @DaneLLL for your response, I believe the reason why I get the error is because I am using the pre-installed OpenCV that comes with the jetpack. I will upgrade to 4.5.1 and get back to you if it works.