Ask Your Question
1

OpenCV and Tegra

asked 2012-12-20 09:56:06 -0600

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2012-12-21 09:07:03 -0600

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.

edit flag offensive delete link more

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 ( 2012-12-22 14:29:50 -0600 )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.

Alexander Smorkalov gravatar imageAlexander Smorkalov ( 2012-12-24 00:30:38 -0600 )edit

Thanks Alexander!

Gabriele gravatar imageGabriele ( 2012-12-25 16:17:33 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2012-12-20 09:56:06 -0600

Seen: 1,041 times

Last updated: Dec 21 '12