PyPI
DepthFlow is available in the Python Package Index (PyPI) via depthflow package.
With uv¶
Have astral-sh/uv installed - a modern python manager and runner.
Script¶
Create a script with dependencies syntax file like:
# /// script
# dependencies = [
# "depthflow>=1.0",
# ]
# ///
from depthflow.scene import DepthScene
scene = DepthScene()
scene.main()
Open a terminal in the script directory and run:
Direct¶
Following the concepts of uv/tools, you can run it from an ephemeral environment:
With pip¶
Simply install the depthflow package, use in your venv, or run its main entry point: