Hi,
For someone to resolve **OpenCV 4.2**
with JetPack 4.4 DP build issue!
- OpenCV 4.1.1 installed by SDK Manager does not support CUDA!
- We cannot use CUDA backend (cv2.dnn.DNN_BACKEND_CUDA).
To summarize:
- cmake needs two flags:
-D CUDNN_VERSION='8.0' \ -D CUDNN_INCLUDE_DIR='/usr/include' \
as this: [link]
- sudo apt install libcudnn8-dev
If you have some other issues to build, try this:
sudo apt-get install nvidia-jetpack
It will install all JetPack packages on your target.
Good luck!