Ask Your Question

Which methods to use to make use of dense SIFT?

asked 2018-05-16 08:29:26 -0500

ce gravatar image

Wen running my code, in which cv2.FeatureDetector_create("Dense") is made use of, I get this error: AttributeError: module 'cv2.cv2' has no attribute 'FeatureDetector_create'. So which method do I have to use to make use of Dense SIFT?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-05-16 09:24:29 -0500

berak gravatar image

there is no more cv2.FeatureDetector_create() and no more a Dense detector in current opencv3, those are all from 2.4

to do this with SIFT, you'd need opencv_contrib, create a SIFT detector like this:

f2d = cv2.xfeatures2d.SIFT_create()

and then setup your own list of grid-spaced keypoints instead of calling detect()

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-05-16 08:29:26 -0500

Seen: 409 times

Last updated: May 16 '18