Opencv 4.2.0 Configuration for Jetson Nano Orin 5.1.3 SDKn

Hello, I am trying to install OpenCV 4.2.0 in my Jetson Nano Orin. I used this method.. However, it is not working for OpenCV 4.2.0.

I tried to use following configuration

cmake \
 -D WITH_CUDA=ON \
 -D WITH_CUDNN=ON \
 -D CUDA_ARCH_BIN="7.2,8.7" \
 -D CUDA_ARCH_PTX="" \
 -D OPENCV_GENERATE_PKGCONFIG=ON \
 -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib-${version}/modules \
 -D WITH_GSTREAMER=ON \
 -D WITH_LIBV4L=ON \
 -D BUILD_opencv_python3=ON \
 -D BUILD_TESTS=OFF \
 -D BUILD_PERF_TESTS=OFF \
 -D BUILD_EXAMPLES=OFF \
 -D CMAKE_BUILD_TYPE=RELEASE \
 -D CMAKE_INSTALL_PREFIX=/usr/local ..

Can you suggest me configuration which will be suitable for OpenCV 4.2.0 in Jetson Nano Orin (SDK Version 5.1.3). I am OK if CUDA cannot be configured. Thank you.

Hello,

Thanks for visiting the NVIDIA Developer forums! Your topic will be best served in the Jetson category.

I will move this post over for visibility.

Cheers,
Tom

Hi,

Does OpenCV 4.6 work for you?

Since v4.2 was released in 2019, it might not be able to run with CUDA 11.4 and JetPack 5 (Ubuntu 20.04) environment

Thanks.

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