Open topic with navigation
The NVIDIA CodeWorks for Android distribution includes a number of examples that demonstrate how OpenCV for Tegra functions are called in Android applications. These examples run successfully on Android APIs 9 and higher.
The following steps are required to configure your PC’s development environment for writing and building OpenCV for Tegra Android applications. More details about these steps can be found here.
Install the package at a writable location on your PC (for example,
C:\NVPACK\). The preferred location is your home directory.
OpenCV_126.96.36.199_Manager_2.17_armv7a-neon.apk, and for Tegra 2, the two packages
OpenCV_188.8.131.52_binary_pack_armv7a.apk) on to it, as described in the section Usage Models.
<path to CodeWorks for Android directory>/eclipse/.
<path to CodeWorks for Android directory/nvsample_workspace>and OK.
<path to TADP directory>/OpenCV-184.108.40.206-Tegra-sdk> Open.
Note: In order to run successfully, the OpenCV Tutorials 1-4 and the OpenCV Samples require that the OpenCV Manager (and the OpenCV for Tegra library binary pack in case of Tegra 2) be present on your Tegra device. If this is not the case, an attempt will be made to install the required
The OpenCV for Tegra examples belong to two categories – tutorials (called OpenCV Tutorial x – xxx) and samples (called OpenCV Sample – xxx). The tutorials show important aspects for a beginner, including: using OpenCV in Java, C++, working with a camera, and mixing both Java and C++ calls to OpenCV in a single application.
The OpenCV Samples demonstrate how different functions from the OpenCV for Tegra library can be used to achieve a variety of image processing and computer visions tasks.
The OpenCV for Tegra examples are described in detail in the following sections.
NVIDIA® GameWorks™ Documentation Rev. 1.0.200601 ©2014-2020. NVIDIA Corporation. All Rights Reserved.