Ask Your Question
0

How do I create custom KeyPoints to compute SIFT?

asked 2015-04-02 09:54:29 -0600

I am using opencv-Python

I have identified Corner points using cv2.cornerHarris. The output is of type "dst"

I need to compute SIFT features of the corner points. The input to sift.compute() has to be of the type "KeyPoint"

I'm not able to figure out how to use cv2.KeyPoint()

How do I do this ?

Thanks :)

edit retag flag offensive close merge delete

Comments

could you explain, why you are not using SIFT keypoints in that case ?

berak gravatar imageberak ( 2015-04-02 12:18:54 -0600 )edit

@berak: in some applications, it may be required to base on custom key points, e.g. face recognition

mwlodarczyk gravatar imagemwlodarczyk ( 2017-01-30 17:23:21 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-01-30 17:20:46 -0600

mwlodarczyk gravatar image

Hi,

Any update on this issue? I am trying to calculate the SIFT descriptor for various scales: 3, 5, 7 at the given points. However, there is no 'scale' parameter in cv::KeyPoint class directly. I tried to play with 'octave', 'size' parameters but I am not sure how to set them correctly? Any ideas?

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-04-02 09:54:29 -0600

Seen: 689 times

Last updated: Apr 02 '15