Ask Your Question
2

OpenCV for Tegra Demo

asked Oct 31 '12

Chayan gravatar image

updated Nov 3 '12

Kirill Kornyakov gravatar image

I am much impressed to watch the performance boost achieved by enabling the tegra optimization (https://play.google.com/store/apps/details?id=org.opencv.imgdemo). But I was wondering how can I do that in my code. I could not find any helpful documentation on how to utilize tegra power in the opencv website. Can anyone please help me on this?

Preview: (hide)

1 answer

Sort by » oldest newest most voted
4

answered Nov 1 '12

Kirill Kornyakov gravatar image

updated Nov 2 '12

The only thing you should do, is to use Android OpenCV Manager. On a Tegra 3 device it will provide your application with optimized version of OpenCV. These are dynamic libraries with API identical to the default version of OpenCV, but with a set of optimizations enabled. Corresponding packages are already published to Google Play market, so you can install your application on a Tegra 3 device and see if it gets performance improvement.

The list of optimized functions is available here: http://docs.opencv.org/opencv2refman-tegra.pdf, check Chapter 17, "TEGRA-POWERED COMPUTER VISION". Please note that not 100% of API was optimized, so probably your bottleneck will not disappear... In such a case you can submit a feature request on the http://code.opencv.org.

OpenCV for Tegra is also included into the NVIDIA's Tegra Android Development Pack.

And I suggest you to wait for the final OpenCV 2.4.3 release, because it suggests much better experience for end users. I mean significantly reduced number of clicks.

Preview: (hide)

Comments

Thank you very much. The information was very helpful.

Chayan gravatar imageChayan (Nov 2 '12)edit

Question Tools

Stats

Asked: Oct 31 '12

Seen: 613 times

Last updated: Nov 02 '12