Ask Your Question
3

Matching ORB descriptors with flann LSH on Android

asked 2013-04-25 11:55:54 -0600

pasztord gravatar image

Is it possible to use flannbased LSH matchning with ORB descriptors on Android?

How can I translate this line to java?

FlannBasedMatcher matcher2(new flann::LshIndexParams(20,10,2));

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
5

answered 2013-04-26 02:26:23 -0600

There is no direct wrapper for FlannBasedMatcher. The only solution for Java is to create Matcher using common matcher factory and set parameters separately using yml configuration file for example. See [OpenCV_source]/modules/java/android_test/src/org/opencv/test/features2d/FlannBasedDescriptorMatcherTest.java test in OpenCV source code as an example of such initialization. Alternatively, you can wrap this functionality manually.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-04-25 11:55:54 -0600

Seen: 3,679 times

Last updated: Apr 26 '13