Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Limiting the no. of keypoints detected by detector created by FeatureDetector

Is there any way I can limit the no. of keypoints detected by a detector I created using the FeatureDetector interface in OpenCV's C++ SDK? I see the function, it has no other param besides the string that's to be passed. But I do need to limit the no. of keypoints the detector detects.

I'm using it for BRISK, and I need to limit the max. no. of keypoints the detector detects in an image, preferably detecting the N best keypoints.

I'm not using cv::BRISK because it's broken, (saw in an issue), and thus I've been using the one which can be instantiated from the FeatureDetector interface, which works great.