Hi, I tried to run my python application on Jetson AGX Xavier.
The python application runs in a docker container and uses opencv. The docker image is based on the l4t_base image.
I compiled opencv with cuda enabled in the container and if I run print(cv2.getBuildInformation())
it shows
But when I run my python code with cv2.cuda.cvtColor
it shows
signal: aborted (core dumped)
terminate called after throwing an instance of ‘cv::Exception’
what(): OpenCV(4.4.0) /tmp/build_opencv/opencv/modules/core/src/cuda_info.cpp:84: error: (-217:Gpu API call) no CUDA-capable device is detected in function ‘getDevice’
I also ran the following in both the container and the host machine.