I need to do an object recognition in real time (with image coming from videocamera usb)
Is there anyway to tell
SurfFeatureDetector.detect();
to extract less keypoint ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here is the constructor for SurfFeatureDetector. With the constructor, you can decrease the number of keypoints with the 3 basic arguments:
hessianThreshold: increase thisoctaves: decrease thisoctavelayers: decrease thisI don’t know the details of SURF implementation, but this SO answer points to documentation which explains the whole algorithm so you can choose how to change those.
As an alternative to studying the implementation directly, I have found Find-Object to be very useful for experimenting with many of the feature detection algorithm settings.