First time here? Check out the FAQ!

Ask Your Question
1

OpenCV and Tegra

asked Dec 20 '12

Gabriele gravatar image

Hi,

I noticed an impressive demo about OpenCV for Tegra (http://www.embedded-vision.com/industry-analysis/video-interviews-demos/2012/12/19/december-2012-embedded-vision-alliance-member--0?goback=%2Egde_3934172_member_197847664). However, this version only runs on Android, and not on Linux distros. Assuming that I own a processing board with ARM CPU and Tegra GPU, what OpenCV version would you suggest me to use in terms of processing performance: (i) OpenCV on Linux or (ii) OpenCV for Tegra on Android? Have you ever compared the two different versions?

Thanks Gabriele

Preview: (hide)

1 answer

Sort by » oldest newest most voted
1

answered Dec 21 '12

There is no Linux version of OpenCV optimized for Tegra processors. So, I think you need to use Android. You need to install Android 2.3 or higher and OpenCV Manager for armv7a with NEON.

Preview: (hide)

Comments

1

Thanks for your reply Alexander. On the one hand, with the Android version I could enable Tegra optimization. On the other hand, I'm wondering whether the Android version is slower than the Linux one, for example because of the Java JNI layer. In a nutshell, I'm trying to understand whether it's worth replacing my Linux-based installation with an Android one just to enable Tegra optimization. Is there any documented comparison about the two versions?

Gabriele gravatar imageGabriele (Dec 22 '12)edit

You can implement all processing steps in C++ code. As result you'll have better performance in processing, than on Linux. In this case JNI overhead will be small in comparison to the actual processing time.

Thanks Alexander!

Gabriele gravatar imageGabriele (Dec 25 '12)edit

Question Tools

1 follower

Stats

Asked: Dec 20 '12

Seen: 1,113 times

Last updated: Dec 21 '12