Ask Your Question
2

BRISK android

asked Feb 4 '13

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

Preview: (hide)

2 answers

Sort by » oldest newest most voted
2

answered Sep 30 '13

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.

Preview: (hide)
0

answered Feb 4 '13

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))

Preview: (hide)

Comments

IN ANDROID???

andon gravatar imageandon (Feb 13 '13)edit

can you put the code please

Marwen Z gravatar imageMarwen Z (Mar 19 '13)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 (Mar 19 '13)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 (Sep 25 '13)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 (Jul 19 '14)edit

Question Tools

Stats

Asked: Feb 4 '13

Seen: 1,312 times

Last updated: Sep 30 '13