Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
C++ TensorRT implementation of Depth-Anything V1, V2
| Date | Stars |
|---|---|
| 2026-07-24 | 482 |
| 2026-07-25 | 482 |
| 2026-07-28 | 482 |
| 2026-07-30 | 482 |
| 2026-08-06 | 482 |
Today
— stars today
This week
— stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.00%/day
<div align="left"> Depth Anything TensorRT CLI =========================== [](https://www.python.org/downloads/release/python-31012/) [](https://developer.nvidia.com/cuda-downloads) [](https://developer.nvidia.com/tensorrt) [](https://github.com/spacewalk01/depth-anything-tensorrt/blob/main/LICENSE) </div> Depth estimation is the task of measuring the distance of each pixel relative to the camera. This repo provides a TensorRT implementation of the [Depth-Anything](https://github.com/LiheYoung/Depth-Anything) depth estimation model in both C++ and Python, enabling efficient real-time inference. <p align="center"> Depth-Anything-V1 <img src="assets/davis_dolphins_result.gif" height="225px" width="720px" /> </p> <p align="center"> Depth-Anything-V2 <img src="assets/ferris_wheel_result.gif" height="225px" width="720px" /> </p> ## News * **2024-08-20:** Added CLI (xa1on) * **2024-06-20:** Added support for TensorRT 10. * **2024-06-17:** [Depth Anything V2](https://github.com/DepthAnything/Depth-Anything-V2) has been integrated. * **2024-01-23:** The Depth Anything [TensorRT](https://github.com/spacewalk01/depth-anything-tensorrt) version has been created. ## ⏱️ Performance The inference time includes the pre-preprocessing and post-processing stages: | Device | Model | Model Input (WxH) | Image Resolution (WxH)|Inference Time(ms)| |:---------------:|:------------:|:------------:|:------------:|:------------:| | RTX4090 | Depth-Anything-S |518x518 | 1280x720 | 3 | | RTX4090 | Depth-Anything-B |518x518 | 1280x720 | 6 | | RTX4090 | Depth-Anything-L |518x518 | 1280x720 | 12 | > [!NOTE] > Inference was conducted using `FP16` precision, with a warm-up period of 10 frames. The reported time corresponds to the last inference. ## 🚀 Quick Start #### C++ - **Step 1**: Create an engine from an onnx model and save it: ``` shell depth-anything-tensorrt.exe -model <onnx model> ``` - **Step 2**: Deserialize an engine. Once you've built your engine, the next time you run it, simply use your engine file: ``` shell depth-anything-tensorrt.exe -model <engine file> -input <input image or video> ``` - Alternatively, you can skip immediately to running the model with just an onnx file, however, it will still generate a engine file. ``` shell depth-anything-tensorrt.exe -model <onnx model> -input <input image or video> ``` Example: ``` shell # infer image depth-anything-tensorrt.exe -model depth_anything_vitb14.engine -input test.jpg # infer folder(images/videos) depth-anything-tensorrt.exe -model depth_anything_vitb14.engine -input data # folder containing videos/images # infer video depth-anything-tensorrt.exe -model depth_anything_vitb14.engine -input test.mp4 # the video path # specify output location depth-anything-tensorrt.exe -model depth_anything_vitb14.engine -input test.mp4 -output result # rendered depth maps will go into the "results" directory # display progress in one line rather than multiple depth-anything-tensorrt.exe -model depth_anything_vitb14.engine -input test.mp4 -one-line # modify prefix of generated files (default: "depth_") depth-anything-tensorrt.exe -model depth_anything_vitb14.engine -input test.mp4 -prefix "depthify_" # rendered depth map will have the name "depthify_test.mp4" # show preview including before and after (may slow down performance) depth-anything-tensorrt.exe -preview -model depth_anything_vitb14.engine -input test.mp4 # modify fps of footage (does not interpolate, will speed up or slow down footage if original video file has a different fps value) depth-anything-tensorrt.exe -model depth_anything_vitb14.engine -input test.mp4 -fps 60 # use an existing engine file if found depth-anything-tensorrt.exe -model depth_a
Excerpt of 7,639 characters
Read on GitHubWould you bet a product on this? Bounded 0–100 and slow moving.
matched fp:87ffb0a03c6d8249, topic:tensorrt