object recognition android
I wanna implement object recognition in android java using SIFT/SURF...
Can anyone pls tell meWhat is the JAVA wrapped equivalent??
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,136 times
Last updated: Jan 19 '13
How to get good matches from the ORB feature detection algorithm?
How to decrease the number of processed frames from a live video camera?
Unresolved inclusion in OpenCV+Android tutorial
Fish detection. Is haartraining a good approach ?
build problems for android_binary_package - Eclipse Indigo, Ubuntu 12.04
Which values for window size and number of pyramids are reasonable for calcOpticalFlowPyrLK?
Errors running builder 'CDT Builder' when trying to build OpenCV for android samples