Jetson AGX Xavier needs to rely on cuda, cudnn, tensorrt, opencv and other libraries to transplant and deploy deep learning algorithms. Fortunately, jetpack includes all the above-mentioned environments, and there is no need to compile additional libraries such as opencv or tensorrt.
The opencv and tensorrt dynamic libraries are located at:
/usr/lib/aarch64-linux-gnu/
directory, it is easy to find
The opencv header files are located at:
/usr/include/opencv4/
When using it, configure the corresponding include_directories and link_directories in CMakelist.