Ask Your Question

Morty's profile - activity

2012-11-01 02:38:34 -0600 received badge  Teacher (source)
2012-09-03 10:12:39 -0600 commented answer Android : Native OpenCV

Hi,

I would suggest that you have a look at the samples which are included in the OpenCV4Android SDK. I think there are 3 samples included which make calls to JNI. At least for me these samples were a great help. The OpenCV Documentation contains a nice tutorial on how to setup these samples in Eclipse:

http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/android_binary_package.html

or

http://docs.opencv.org/trunk/doc/tutorials/introduction/android_binary_package/O4A_SDK.html

Best regards,

Morty

2012-09-03 07:06:23 -0600 answered a question Android : Native OpenCV

Hi,

the OpenCV Android native api is the same as the standard c++ api. I have a c++ class which is used to create panorama images in real-time. The class uses lots of OpenCV's functions and data structures and can be compiled for Android and my PC without any platform dependent code. Some OpenCV modules, e.g. the gpu module, are not supported on Android. Maybe you are using some of these unsupported modules in your code.

Best regards,

Morty

2012-09-03 03:58:14 -0600 received badge  Self-Learner (source)
2012-09-03 03:57:49 -0600 received badge  Student (source)
2012-09-02 19:02:12 -0600 answered a question Best OpenCV build for Android/Tegra3

I think I stumbled upon the answer myself. There is a Tegra3 optimized OpenCV build for the OpenCV Manager. But this one is not included in the current Android SDK release. It can be downloaded using the Google Play store (which isn't installed on the Tegra Devkit) and on some other sites on the internet. I got it here: OCV-2.4-Pack-NVIDIA-Tegra3

It provided a significant performance boost for my application.

Best regards,

Morty

2012-09-02 08:35:13 -0600 asked a question Best OpenCV build for Android/Tegra3

Hi,

I'm writing an augmented reality application for the Tegra 3 Devkit (using OpenCV of course) as part of my bachelor thesis. I am running into some performance issues and before I try to optimize my code I would like to know if I'm using the most optimized build for the Tegra 3. For now I am simply using the latest available OpenCV4Android SDK which includes the OpenCV Manager and the OCV 2.4 pack armeabi-v7a. After doing some research on google I found out that there are optimizations for Tegra devices and cpu's with NEON technology. For example it is possible to build OpenCV4Android using a special build script for NEON enabled cpu's (cmake_androi_neon.sh).

So, which build of OpenCV4Android is recommended when using a Tegra3 device? The latest release version with OpenCV Manager, the special build for NEON cpu's or some other build I haven't considered? I also read something about some Tegra3 optimized version of OpenCV which will be released as part of NVIDIA's Tegra Android Development Pack. Are there any news on that?

Thanks in advance and keep up the good work, Morty