Depth maps from any camera with Depth Anything in TD
TL;DR. TDDepthAnything builds a TensorRT depth map from a camera TOP. The setup notes name TouchDesigner 2023.11340, Python 3.11, and CUDA Toolkit 11.8.
TouchDesignerAdvancedTouchDesignerDepth AnythingTensorRT
What it does
Monocular depth estimation accelerated by TensorRT, turning a regular camera into a depth source for effects and masking.
How to set it up
- Install Python 3.11 and CUDA Toolkit 11.8 (tested with TD 2023.11340).
- Download the repo, set PYTHON_PATH in accelerate.bat and run it to build the TensorRT engine.
- Load the component in TD and feed it a camera TOP to get a depth map.
Source project: olegchomp/TDDepthAnything
FAQ
Can I share a Python environment with TouchDiffusion?
Yes, the README explains copying the files into the TouchDiffusion folder and running accelerate.bat there.
Which models?
Depth Anything v1 and v2.
Also on this rig
Original source: https://github.com/olegchomp/TDDepthAnything