├── .gitignore ├── README.md └── LICENSE /.gitignore: -------------------------------------------------------------------------------- 1 | configure.log 2 | build.log 3 | test.log 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # OpenCV build script for Tegra 2 | 3 | This script builds OpenCV from source on Tegra (Nano, NX, AGX, etc.). 4 | 5 | Related thread on Nvidia developer forum 6 | [here](https://devtalk.nvidia.com/default/topic/1051133/jetson-nano/opencv-build-script/). 7 | 8 | [How it Works](https://wiki.debian.org/QemuUserEmulation) 9 | 10 | ## Usage: 11 | ```shell 12 | ./build_opencv.sh 13 | ``` 14 | 15 | ## Specifying an OpenCV version (git branch) 16 | ```shell 17 | ./build_opencv.sh 4.4.0 18 | ``` 19 | 20 | Where `4.4.0` is any version of openCV from 2.2 to 4.4.0 21 | (any valid OpenCV git branch or tag will also attempt to work, however the very old versions have not been tested to build and may require spript modifications.). 22 | 23 | **JetPack 4.4 NOTE:** the minimum version that will build correctly on JetPack 4.4 GA is 4.4.0. Prior versions of JetPack may need the CUDNN version adjusted (the `-D CUDNN_VERSION='8.0'` line can simply be removed). 24 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2019 Michael de Gans 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --------------------------------------------------------------------------------