This project provides one-click deployment for Depth Anything V3 on NVIDIA Jetson devices. It uses the prebuilt Docker image:
chenduola6/depth-anything-v3:jp6.2Image size: 7.6 GB
Supported JetPack/L4T versions:
- JetPack 6.2 -> L4T 36.4.0
- JetPack 6.2.1 -> L4T 36.4.3
- JetPack 6.1 -> L4T 36.4.4
- NVIDIA Jetson device with a supported L4T version
- Docker installed and available
- USB camera (for camera inference)
PyPI (recommended):
pip install jetson-examplesGitHub (developer):
git clone https://github.com/Seeed-Projects/jetson-examples
cd jetson-examples
pip install .- Start the demo container with
reComputer:
reComputer run depth-anything-v3- Enter the running container:
xhost +local:docker
docker run -it --rm \
--gpus all \
--network host \
--ipc host \
--privileged \
-e DISPLAY=$DISPLAY \
-e QT_X11_NO_MITSHM=1 \bash
-v /tmp/.X11-unix:/tmp/.X11-unix \
-v /dev:/dev \
chenduola6/depth-anything-v3- Run USB camera inference inside the container:
cd workspace/ros2-depth-anything-v3-trt
#build the engine file
source install/setup.bash
ros2 run depth_anything_v3 generate_engines onnxNote:If the Jetson swap space is insufficient, it may cause the engine export process to fail.
#add swap space sudo mkdir -p /mnt/nvme sudo fallocate -l 16G /mnt/nvme/swapfile sudo chmod 600 /mnt/nvme/swapfile sudo mkswap /mnt/nvme/swapfile sudo swapon /mnt/nvme/swapfile
#Run a USB camera demo
USB_SIMPLE=1 ./run_camera_depth.shOnly remove the container (keep image cache):
reComputer clean depth-anything-v3
