How to use Surf to detect features in android application?
I am developing an Augmented Reality Application. I am trying to use SURF for detecting objects. I have developed a custom java camera activity. I don't know how to add OpenCV SURF detector to my application. Do i need to implement SURF using NDK native development? I want to detect features in real time.
For detecting features in real-time try to look at ORB or FAST. I didn't try to use them on the Android device but I made a few comparisons on PC. The results were that FAST is faster (way faster - 25ms on average (there are a few parameters you can tune)) and the accuracy is the same if not better. The bad thing with fast is that you need to use with a descriptor (if you need to) and because there was a weird bug at that time in the ORB descriptor class I used it with SURF. My suggestion would be to try to use FAST and ORB for feature detection and as for descriptor, ORB and FREAK (didn't use though, just read a bit about it).