我知道在使用sift或surf时会发生此错误,但它是为xfeatures2d_HarrisLaplaceFeatureDetector
显示的
代码
return {
'AGAST': cv2.AgastFeatureDetector,
'KAZE': cv2.KAZE,
'AKAZE': cv2.AKAZE,
'FAST': cv2.FastFeatureDetector,
'BRISK': cv2.BRISK,
'ORB': cv2.ORB,
# 'GFTT': cv2.GFTTDetector,
'HarrisLaplace': cv2.xfeatures2d_HarrisLaplaceFeatureDetector, #throws error here
'StarDetector': cv2.xfeatures2d_StarDetector
}
我有以下版本的opencv
opencv-contrib-python 4.4.0.42
opencv-python 4.4.0.42
Python=3.7
目前没有回答
相关问题 更多 >
编程相关推荐