Ask Your Question

FAST detection possible with OpenCV Manager on Android?

asked 2013-03-06 18:59:41 -0600

MysticBE gravatar image

updated 2013-03-06 19:06:47 -0600

I've been doing some research on the web about implementing FAST detection into my application, but I can't seem to find any examples on it that use the OpenCV Library 2.4.x and the OpenCV manager.

The only examples I found all use the JNI with C++ code. Do I have to use the JNI as well for my further detection (It needs to detect rectangles, Canny, Dilate/erosion, FAST), or can I use the OpenCV Library to do all of this? And if so, where can a good example using FAST with the OpenCV Library be found?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-03-07 05:26:18 -0600

Alexander Smorkalov gravatar image

OpenCV has implementations for all functions, that you want: Canny, erode, dilate. All of them are wrapped to Java with the same module names and function names. See Javadoc for details. There is several samples of using OpenCV from C++ and Java in OpenCV4Android SDK. So, programming language is your choice.

edit flag offensive delete link more

answered 2013-03-06 23:55:11 -0600

Alexander Smorkalov gravatar image

You can use FAST algorithm implementation in different ways. There is FAST detector as C++ function, as C++ class, that implements common detector interface and its Java wrapper. So you can use it in both ways in Java and C++ jni code.

edit flag offensive delete link more


oke, thank you Alexander, and what about the rest like rectangle detection? I only found C++ examples about this, and nothing about anyone using the Library for it.So the better option for me would be to work with he JNI?

MysticBE gravatar imageMysticBE ( 2013-03-07 05:15:23 -0600 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-03-06 18:59:41 -0600

Seen: 375 times

Last updated: Mar 07 '13