Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Select Keypoints with mouse

Hi all, I have a few Keypoints in a video stream:

    vector<cv::KeyPoint> keypoints;

I need to add them to a point list in a specific order:

            vector<Point2d> imagePoints;

So my question is.... How can i select a Keypoint with a mouse click, so that i can convert it to the point of my choosing?

I can get the coordinates with a setMouseCallback, but what is the best way to select a keypoint in that region?

thanks!