Ask Your Question

OpenCV and Tegra

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

Gabriele gravatar image


I noticed an impressive demo about OpenCV for Tegra ( 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

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

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



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

Thanks Alexander!

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

Question Tools

1 follower


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

Seen: 928 times

Last updated: Dec 21 '12