Ask Your Question

object recognition android

asked 2013-01-19 11:02:45 -0600

muthu gravatar image

I wanna implement object recognition in android java using SIFT/SURF...

Can anyone pls tell meWhat is the JAVA wrapped equivalent??

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-01-19 13:05:49 -0600

  1. 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.

  2. 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.

edit flag offensive delete link more


One thread - one question. Create new question for your problem.

Alexander Smorkalov gravatar imageAlexander Smorkalov ( 2013-02-04 02:47:45 -0600 )edit

Question Tools

1 follower


Asked: 2013-01-19 11:02:45 -0600

Seen: 2,741 times

Last updated: Jan 19 '13