OpenCV version for Jetpack-5.1.2

Hi,

I would like to re-compile OpenCV with CUDA support for the Jetpack-5.1.2 on Jetson Orinx NX and by checking the default version of libopencv available on the board, I am confused about the correct version as there 's 2 versions co-existing :

cti@ubuntu:~/Workspace/nano_build_opencv$ dpkg -l | grep libopencv
ii  libopencv                                  4.5.4-8-g3e4c170df4                  arm64        Open Computer Vision Library
ii  libopencv-calib3d4.2:arm64                 4.2.0+dfsg-5                         arm64        computer vision Camera Calibration library
ii  libopencv-contrib4.2:arm64                 4.2.0+dfsg-5                         arm64        computer vision contrlib library
ii  libopencv-core4.2:arm64                    4.2.0+dfsg-5                         arm64        computer vision core library
ii  libopencv-dev                              4.5.4-8-g3e4c170df4                  arm64        Open Computer Vision Library
ii  libopencv-dnn4.2:arm64                     4.2.0+dfsg-5                         arm64        computer vision Deep neural network module
ii  libopencv-features2d4.2:arm64              4.2.0+dfsg-5                         arm64        computer vision Feature Detection and Descriptor Extraction library
ii  libopencv-flann4.2:arm64                   4.2.0+dfsg-5                         arm64        computer vision Clustering and Search in Multi-Dimensional spaces library
ii  libopencv-highgui4.2:arm64                 4.2.0+dfsg-5                         arm64        computer vision High-level GUI and Media I/O library
ii  libopencv-imgcodecs4.2:arm64               4.2.0+dfsg-5                         arm64        computer vision Image Codecs library
ii  libopencv-imgproc4.2:arm64                 4.2.0+dfsg-5                         arm64        computer vision Image Processing library
ii  libopencv-ml4.2:arm64                      4.2.0+dfsg-5                         arm64        computer vision Machine Learning library
ii  libopencv-objdetect4.2:arm64               4.2.0+dfsg-5                         arm64        computer vision Object Detection library
ii  libopencv-photo4.2:arm64                   4.2.0+dfsg-5                         arm64        computer vision computational photography library
ii  libopencv-python                           4.5.4-8-g3e4c170df4                  arm64        Open Computer Vision Library
ii  libopencv-samples                          4.5.4-8-g3e4c170df4                  arm64        Open Computer Vision Library
ii  libopencv-shape4.2:arm64                   4.2.0+dfsg-5                         arm64        computer vision shape descriptors and matchers library
ii  libopencv-stitching4.2:arm64               4.2.0+dfsg-5                         arm64        computer vision image stitching library
ii  libopencv-superres4.2:arm64                4.2.0+dfsg-5                         arm64        computer vision Super Resolution library
ii  libopencv-video4.2:arm64                   4.2.0+dfsg-5                         arm64        computer vision Video analysis library
ii  libopencv-videoio4.2:arm64                 4.2.0+dfsg-5                         arm64        computer vision Video I/O library
ii  libopencv-videostab4.2:arm64               4.2.0+dfsg-5                         arm64        computer vision video stabilization library
ii  libopencv-viz4.2:arm64                     4.2.0+dfsg-5                         arm64        computer vision 3D data visualization library
ii  libopencv4.2-java                          4.2.0+dfsg-5                         all          Java bindings for the computer vision library
ii  libopencv4.2-jni                           4.2.0+dfsg-5                         arm64        Java jni library for the computer vision library

Could someone help to confirm the right version to use , please ?

Thanks and best regards,
K.

Hi,
The default version is 4.5.4. For manually building/installing OpenCV, you may try the script:

JEP/script/install_opencv4.6.0_Jetpack5.sh at master · AastaNV/JEP · GitHub

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