How to install opencv on jetson NANO

Good day
I need to install opencv for my jetson Nano
here is the info

R32 (release), REVISION: 6.1, GCID: 27863751, BOARD: t210ref, EABI: aarch64, DATE: Mon Jul 26 19:20:30 UTC 2021

NVIDIA NVIDIA Jetson Nano Developer Kit
L4T 32.6.1 [ JetPack 4.6 ]
Ubuntu 18.04.6 LTS
Kernel Version: 4.9.253-tegra
CUDA NOT_INSTALLED
CUDA Architecture: 5.3
OpenCV version: NOT_INSTALLED
OpenCV Cuda: NO
CUDNN: NOT_INSTALLED
TensorRT: NOT_INSTALLED
Vision Works: NOT_INSTALLED
VPI: NOT_INSTALLED
Vulcan: 1.2.70

Please advise correct installation guide
I tried a lot of installation scripts and got error like

[ 30%] Built target opencv_core
Makefile:162: recipe for target ‘all’ failed
make: *** [all] Error 2

or
Internal compiler error : Segmentation fault

Thank you!

Hi,
A user has shared a script to manually build OpenCV. You may give it a try:
GitHub - mdegans/nano_build_opencv: Build OpenCV on Nvidia Jetson Nano

And if you use Jetson Nano with embedded eMMC, the free space is not sufficient for building it, please put the source code to external storage such as USB disk.

Hi
With script that you sent my I got following



– Configuring incomplete, errors occurred!
See also “/tmp/build_opencv/opencv/build/CMakeFiles/CMakeOutput.log”.
See also “/tmp/build_opencv/opencv/build/CMakeFiles/CMakeError.log”.

Do you know what problem is?
Thank you

Hi,
You can install OpenCV through SDKManager. Have you tried the package? If no further functions are needed, you may simply use the default package.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.