I want to install the suitable version of opencv on my Jetson Orin NX board so that I can use it in qt and call the GPU for acceleration. Opencv installed by default in Jetpack doesn’t support CUDA.
I have tried to use the method form (Best way to install openCV with Cuda on Jetpack 5 (Xavier NX) : openCV for Tegra?) to install opencv4.6.0, but it was prompted that the v4l2ucp library is missing, and ubuntu20.04 no longer supports this library. I also tried downloading this library myself to install it, but during the installation process, it was prompted that qt4. x is required to install this library, and I have already installed qt5. x.
Here is the information about the version of the software that I am using:
aarch64
Jetpack 5.1.1
Ubuntu 20.04
qt 5.12.8
CUDA 11.4
cuDNN 8.6
I tried this, but when I ran yolov5 using qt, my program reported an error. I used debug and found that there was SIGSEGV error while pushing the stack. However, this error did not occur before using opencv4.4.0. I thought it was a problem with the v4l2ucp package, but now it doesn’t seem like it is. I tried installing opencv4.7.0 again, but the error changed to vectordouble free. Have you encountered a similar situation?