object recognition android
I wanna implement object recognition in android java using SIFT/SURF...
Can anyone pls tell meWhat is the JAVA wrapped equivalent??
SIFT and SURF are patented algorithms. They are implemented in nonfree module. Nonfree module is not distributed with OpenCv4Android SDK due to legal issues. I recommend you to use other features like ORB or FREAK.
You can build OpenCV from source code. You can find instructions for developers here. SIFT or SURF can by used like any other feature detector and extractor:
FeatureDetector detector = FeatureDetector.create(FeatureDetector.ORB); // May be SIFT, SURF, etc detector.detect(mat, keypoints); DescriptorExtractor extractor = DescriptorExtractor.create(DescriptorExtractor.ORB); // May be SIFT, SURF, etc extractor.compute(mat, keypoints, features);
See javadoc for feature2d module for more details.
One thread - one question. Create new question for your problem.
Asked: 2013-01-19 11:02:45 -0600
Seen: 3,207 times
Last updated: Jan 19 '13