├── .github ├── requirements-ci.txt └── workflows │ ├── publish.yml │ ├── test-linux-integration.yml │ ├── test-macos-integration.yml │ └── test-windows-integration.yml ├── .gitignore ├── LICENSE ├── README.md ├── __init__.py ├── assets ├── SOH │ ├── 000.png │ └── 010.png ├── bas_relief.png ├── bridge.jpg ├── kaffi.jpg └── robot_unitree.mp4 ├── docs ├── 3d.png ├── 3d_multiview.png ├── advanced.png ├── bas_relief_wf.png ├── simple.png └── video.png ├── nodes ├── __init__.py ├── depth_anything_v3 │ ├── __init__.py │ ├── cfg.py │ ├── configs.py │ ├── model │ │ ├── __init__.py │ │ ├── cam_dec.py │ │ ├── cam_enc.py │ │ ├── da3.py │ │ ├── dinov2 │ │ │ ├── __init__.py │ │ │ ├── dinov2.py │ │ │ ├── layers │ │ │ │ ├── __init__.py │ │ │ │ ├── attention.py │ │ │ │ ├── block.py │ │ │ │ ├── drop_path.py │ │ │ │ ├── layer_scale.py │ │ │ │ ├── mlp.py │ │ │ │ ├── patch_embed.py │ │ │ │ ├── rope.py │ │ │ │ └── swiglu_ffn.py │ │ │ └── vision_transformer.py │ │ ├── dpt.py │ │ ├── dualdpt.py │ │ └── utils │ │ │ ├── __init__.py │ │ │ ├── attention.py │ │ │ ├── block.py │ │ │ ├── head_utils.py │ │ │ └── transform.py │ └── utils │ │ ├── __init__.py │ │ ├── alignment.py │ │ ├── geometry.py │ │ └── logger.py ├── nodes_3d.py ├── nodes_camera.py ├── nodes_impl.py ├── nodes_inference.py ├── nodes_loader.py ├── nodes_multiview.py ├── preview_nodes.py └── utils.py ├── prestartup_script.py ├── pyproject.toml ├── pytest.ini ├── requirements-dev.txt ├── requirements.txt ├── tests ├── README.md ├── conftest.py ├── integration_real │ ├── __init__.py │ └── test_da3_small_real.py └── smoke_test.py ├── web ├── README.md ├── js │ ├── da3_dynamic.js │ └── pointcloud_preview_vtk.js ├── libs │ └── vtk.min.lib └── viewer_vtk.html └── workflows ├── advanced.json ├── advanced_3d.json ├── advanced_3d_multiview.json ├── bas_relief.json ├── simple.json └── video_multiview_depth.json /.github/requirements-ci.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/.github/requirements-ci.txt -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/test-linux-integration.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/.github/workflows/test-linux-integration.yml -------------------------------------------------------------------------------- /.github/workflows/test-macos-integration.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/.github/workflows/test-macos-integration.yml -------------------------------------------------------------------------------- /.github/workflows/test-windows-integration.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/.github/workflows/test-windows-integration.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/README.md -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/__init__.py -------------------------------------------------------------------------------- /assets/SOH/000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/assets/SOH/000.png -------------------------------------------------------------------------------- /assets/SOH/010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/assets/SOH/010.png -------------------------------------------------------------------------------- /assets/bas_relief.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/assets/bas_relief.png -------------------------------------------------------------------------------- /assets/bridge.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/assets/bridge.jpg -------------------------------------------------------------------------------- /assets/kaffi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/assets/kaffi.jpg -------------------------------------------------------------------------------- /assets/robot_unitree.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/assets/robot_unitree.mp4 -------------------------------------------------------------------------------- /docs/3d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/docs/3d.png -------------------------------------------------------------------------------- /docs/3d_multiview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/docs/3d_multiview.png -------------------------------------------------------------------------------- /docs/advanced.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/docs/advanced.png -------------------------------------------------------------------------------- /docs/bas_relief_wf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/docs/bas_relief_wf.png -------------------------------------------------------------------------------- /docs/simple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/docs/simple.png -------------------------------------------------------------------------------- /docs/video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/docs/video.png -------------------------------------------------------------------------------- /nodes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/__init__.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/__init__.py: -------------------------------------------------------------------------------- 1 | # Depth Anything V3 for ComfyUI 2 | -------------------------------------------------------------------------------- /nodes/depth_anything_v3/cfg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/cfg.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/configs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/configs.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/__init__.py: -------------------------------------------------------------------------------- 1 | # Model architecture 2 | -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/cam_dec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/cam_dec.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/cam_enc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/cam_enc.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/da3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/da3.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/dinov2/__init__.py: -------------------------------------------------------------------------------- 1 | # DinoV2 model 2 | -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/dinov2/dinov2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/dinov2/dinov2.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/dinov2/layers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/dinov2/layers/__init__.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/dinov2/layers/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/dinov2/layers/attention.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/dinov2/layers/block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/dinov2/layers/block.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/dinov2/layers/drop_path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/dinov2/layers/drop_path.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/dinov2/layers/layer_scale.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/dinov2/layers/layer_scale.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/dinov2/layers/mlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/dinov2/layers/mlp.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/dinov2/layers/patch_embed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/dinov2/layers/patch_embed.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/dinov2/layers/rope.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/dinov2/layers/rope.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/dinov2/layers/swiglu_ffn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/dinov2/layers/swiglu_ffn.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/dinov2/vision_transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/dinov2/vision_transformer.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/dpt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/dpt.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/dualdpt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/dualdpt.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # Model utilities 2 | -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/utils/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/utils/attention.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/utils/block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/utils/block.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/utils/head_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/utils/head_utils.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/model/utils/transform.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/model/utils/transform.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # Utils 2 | -------------------------------------------------------------------------------- /nodes/depth_anything_v3/utils/alignment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/utils/alignment.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/utils/geometry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/utils/geometry.py -------------------------------------------------------------------------------- /nodes/depth_anything_v3/utils/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/depth_anything_v3/utils/logger.py -------------------------------------------------------------------------------- /nodes/nodes_3d.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/nodes_3d.py -------------------------------------------------------------------------------- /nodes/nodes_camera.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/nodes_camera.py -------------------------------------------------------------------------------- /nodes/nodes_impl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/nodes_impl.py -------------------------------------------------------------------------------- /nodes/nodes_inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/nodes_inference.py -------------------------------------------------------------------------------- /nodes/nodes_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/nodes_loader.py -------------------------------------------------------------------------------- /nodes/nodes_multiview.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/nodes_multiview.py -------------------------------------------------------------------------------- /nodes/preview_nodes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/preview_nodes.py -------------------------------------------------------------------------------- /nodes/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/nodes/utils.py -------------------------------------------------------------------------------- /prestartup_script.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/prestartup_script.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/pyproject.toml -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/pytest.ini -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/requirements-dev.txt -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/requirements.txt -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/integration_real/__init__.py: -------------------------------------------------------------------------------- 1 | """ 2 | Real model integration tests for ComfyUI-DepthAnythingV3 3 | """ 4 | -------------------------------------------------------------------------------- /tests/integration_real/test_da3_small_real.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/tests/integration_real/test_da3_small_real.py -------------------------------------------------------------------------------- /tests/smoke_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/tests/smoke_test.py -------------------------------------------------------------------------------- /web/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/web/README.md -------------------------------------------------------------------------------- /web/js/da3_dynamic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/web/js/da3_dynamic.js -------------------------------------------------------------------------------- /web/js/pointcloud_preview_vtk.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/web/js/pointcloud_preview_vtk.js -------------------------------------------------------------------------------- /web/libs/vtk.min.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/web/libs/vtk.min.lib -------------------------------------------------------------------------------- /web/viewer_vtk.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/web/viewer_vtk.html -------------------------------------------------------------------------------- /workflows/advanced.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/workflows/advanced.json -------------------------------------------------------------------------------- /workflows/advanced_3d.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/workflows/advanced_3d.json -------------------------------------------------------------------------------- /workflows/advanced_3d_multiview.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/workflows/advanced_3d_multiview.json -------------------------------------------------------------------------------- /workflows/bas_relief.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/workflows/bas_relief.json -------------------------------------------------------------------------------- /workflows/simple.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/workflows/simple.json -------------------------------------------------------------------------------- /workflows/video_multiview_depth.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PozzettiAndrea/ComfyUI-DepthAnythingV3/HEAD/workflows/video_multiview_depth.json --------------------------------------------------------------------------------