Ask Your Question
2

BRISK android

asked 2013-02-04 05:17:41 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

Hi all, i'm trying to do feature detection on video frame with opencv4android version.. Now i'm able to create every kind of feature detector using FeatureDetector detector = FeatureDetector.create(FeatureDetector.BRISK); Now my question is, what should i do to set BRISK parameters? As for example the number of octaves and all i can find in the openCV documentation? Hope you'll be able to help me.. Thank you very much Antonio

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2013-09-30 05:09:37 -0500

Rui Marques gravatar image

You should check this answer: http://answers.opencv.org/question/3167/java-how-to-set-parameters-to-orb-featuredetector

If it doesn't work for BRISK (you have to check which parameters BRISK expects, instead of ORB's ...), it means that right know there is no way to do it for Android.

edit flag offensive delete link more
0

answered 2013-02-04 11:46:16 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

You need to call the the Brisk-Constructor explicitly, i.e. FeatureDetector detector = cv::Ptr(new cv::Brisk(30, 3, 1.0))

edit flag offensive delete link more

Comments

IN ANDROID???

andon gravatar imageandon ( 2013-02-13 10:00:37 -0500 )edit

can you put the code please

Marwen Z gravatar imageMarwen Z ( 2013-03-19 02:58:07 -0500 )edit
1

Sorry, I'm not familiar with the Java-OpenCV api. Since the java code is generated from the C++ code it probably works similarly, i.e. something like FeatureDetector detector = new BRISK(30,3,1.0) . Good luck!

Guanta gravatar imageGuanta ( 2013-03-19 03:57:56 -0500 )edit

causes error on compilation: error: cannot declare variable 'detector' to be of abstract type 'cv::FeatureDetector'. I'm struggling with the same problem.. cannot get BRISK to initialize..

Jatzee gravatar imageJatzee ( 2013-09-25 09:26:20 -0500 )edit

Hi, have you solve your problem? I wish to running BRISK on android also, however, its running very slow . Do yo have any idea to solve this?

August gravatar imageAugust ( 2014-07-19 04:59:50 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-02-04 05:17:41 -0500

Seen: 898 times

Last updated: Sep 30 '13