Ask Your Question
2

OpenCV for Tegra Demo

asked 2012-10-31 10:58:47 -0500

Chayan gravatar image

updated 2012-11-03 09:33:27 -0500

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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
4

answered 2012-11-01 02:37:58 -0500

Kirill Kornyakov gravatar image

updated 2012-11-02 03:49:50 -0500

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.

edit flag offensive delete link more

Comments

Thank you very much. The information was very helpful.

Chayan gravatar imageChayan ( 2012-11-02 17:33:47 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-10-31 10:58:47 -0500

Seen: 360 times

Last updated: Nov 02 '12