Ask Your Question

Revision history [back]

how to get KeyPoint angle

Hi anyone can help me ? I get a project to create a new keypoint, but only have the coordinates (x, y), then OpenCV have a KeyPoint class which have the following parameters:

pt (x,y) -> the position of the KeyPoints, size - size of the keypoint, angle - orientation of the keypoint, response - strength of the keypoint, octave - number of octave layer the keypoint is detected, class_id - the number of object the keypoint belongs to.

So how to get Keypoint angle, response and other parameters ?

I hope someone can help me. thank you ^_^