🎯 Depth Anything 3 Gallery
Explore 3D reconstructions and depth visualizations from Depth Anything 3. Browse through groups of scenes, preview 3D models, and examine depth maps interactively.
#!/usr/bin/env python3 # flake8: noqa: E501 # Copyright (c) 2025 ByteDance Ltd. and/or its affiliates # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """ Depth Anything 3 Gallery Server (two-level, single-file) Now supports paginated depth preview (4 per page). """ import argparse import json import mimetypes import os import posixpath import sys from functools import partial from http import HTTPStatus from http.server import SimpleHTTPRequestHandler, ThreadingHTTPServer from urllib.parse import quote, unquote # ------------------------------ Embedded HTML ------------------------------ # HTML_PAGE = r"""
Explore 3D reconstructions and depth visualizations from Depth Anything 3. Browse through groups of scenes, preview 3D models, and examine depth maps interactively.