← Back to Leaderboard
4nathalie000

nathalie000/4DAnything

arXiv:2612.02443 ↗

Local, feed-forward 4D object reconstruction from monocular video

View on GitHub ↗
Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
B+ · 75/100
Maintenance Activity
● Updated 2d ago
Latest Release
Rolling commits (main)
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption9/25
Release Cadence11/20
License Clarity20/20
Local AIGPUCLI
Total Stars
★ 159
24h Growth
+14
7d Growth
+14
Forks
7

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

nathalie000/4DAnything Star History (2026-11-30 - 2026-12-04) DAILY STAR HISTORY (5-DAY D1 TELEMETRY) +158 in 4d · avg +40/day 168 84 0 2026-11-30: ★ 12026-12-01: ★ 52026-12-02: ★ 472026-12-03: ★ 1452026-12-04: ★ 159 ★ 159 11-30 12-02 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

4DAnything is a staged local CLI for reconstructing one moving object from a monocular clip. inference/precompute.py writes masks, pointmaps, and camera poses to a clip-specific directory. inference/infer.py consumes those inputs and reconstructs the object over the whole clip in one forward pass. inference/visualize.py renders the result with gsplat. The artifact directory is the integration boundary: callers can inspect segmentation before launching reconstruction or provide their own masks upstream.

SAM 3D Objects supplies the reconstruction backbone and Gaussian decoder. TRELLIS provides sparse structured latents, and PAD3R supplies node deformation and skinning. The Python package lives under anything4d/, with JSON configs included as package data. The GPU stack pins PyTorch 2.6.0, torchvision 0.21.0, xformers, CUDA 12.4 builds of spconv and PyTorch3D, and gsplat. The CLI and its intermediate files, rather than a service API or plugin interface, are the practical entry points for integration.

Key Capabilities & Differentiators

The input is a monocular video, with one target object per run. By default, BiRefNet selects the salient object in the middle frame and SAM 2.1 tracks its mask across the clip. --prompt uses Grounding-DINO to locate a named target; --box and --point allow explicit selection, and --masks accepts masks from another segmentation workflow. Inspecting precompute/masks/ is the quickest way to catch incorrect target selection before reconstruction.

VGGT-Omega estimates pointmaps and camera poses jointly for the clip to maintain consistent depth scale across frames. MoGe is available as an optional source of per-frame pointmaps. The output is a reconstruction of the target as it moves or deforms over time, not a joint reconstruction of all visible objects. The visualizer renders the reconstruction from the input camera, overlays it on the original video, and produces an orbit view. Comparing the overlay with the orbit helps distinguish alignment errors from geometry problems visible at novel viewpoints.

Trade-offs & Limitations

Use SAM 3D Objects directly if you only need a static reconstruction from one image, or VGGT-Omega directly if the deliverables are pointmaps and camera poses. 4DAnything is worth the extra dependencies when you need an object representation that changes over time and can be rendered from novel views. Its one-object-per-run design is a poor fit for joint scene reconstruction, and work grows with the number of objects you select because each needs its own run.

The single forward pass describes reconstruction, not the full cost of segmentation, geometry estimation, and rendering. The GPU memory requirement is at least 24 GB for 32 frames and about 48 GB for 50 frames, so validate at your target clip length rather than extrapolating from a short test. Licensing is a separate adoption constraint: the code is MIT, but the upstream weights have independent terms, including the FAIR Noncommercial Research License for VGGT-Omega. Local execution does not turn those weights into a commercially cleared stack.

Hardware & Deployment Guide

The documented deployment baseline is Linux, an NVIDIA GPU, Python 3.11, and CUDA 12.4. The package metadata allows Python 3.10 or newer, but Python 3.11 is the documented setup. Initialize the recursive Git submodules, install requirements.txt, and install the package in editable mode. The requirements pin Git revisions of VGGT-Omega and MoGe and use additional wheel indexes for the CUDA stack. Keep the Torch and CUDA wheel versions aligned rather than upgrading one component in isolation.

Execution is local, but initial setup requires downloading dependencies and checkpoints. Obtain Hugging Face access to SAM 3D Objects and VGGT-Omega, authenticate, and run scripts/download_checkpoints.sh; VGGT-Omega downloads on first use. The clip reconstruction checkpoints are ss.pt, slat.pt, and decoder.pt under checkpoints/4danything/. Inference code and weights are available without a tagged GitHub release. Record the repository revision and checkpoint files together for reproducible deployments.

Pipeline: precompute.py, infer.py, and visualize.py exchange artifacts through one output directory per clip.
Target selection: BiRefNet selects the salient object in the middle frame by default; Grounding-DINO supports text selection and SAM 2.1 propagates masks across the clip.
Geometry: VGGT-Omega estimates pointmaps and camera poses jointly across the clip; MoGe is an optional per-frame pointmap source.
Reconstruction: SAM 3D Objects supplies the backbone and Gaussian decoder; the pipeline uses TRELLIS sparse structured latents and PAD3R node deformation and skinning.
Rendering: gsplat produces views from the input camera, overlays on the source video, and orbit videos.
GPU sizing: Budget at least 24 GB of GPU memory for 32 frames and about 48 GB for 50 frames.
Best For

Research and prototyping teams with Linux NVIDIA GPU capacity that need to reconstruct one moving object from a short monocular clip and inspect it from novel viewpoints.

Skip If

You need joint multi-object reconstruction, cannot meet the GPU memory requirements, or need a commercial deployment without resolving upstream weight licenses.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Local AIGPUCLI
git clone https://github.com/nathalie000/4DAnything.git
cd 4DAnything
git submodule update --init --recursive
conda create -n 4danything python=3.11 -y && conda activate 4danything
pip install -r requirements.txt
pip install -e .

Comparison vs. Top Voice, Vision & Video Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
4DAnything ★159+14PythonMITLocal, feed-forward 4D object reconstruction from monocular video
ComfyUI149.9k+945PythonGPL-3.0A node-graph engine for building and running multimodal AI workflows locally
OpenMontage85.4k+1.5kPythonAGPL-3.0Agent-led video production from brief to finished edit
autoclip21.7k+4kPythonMITLocal-first AI turns long videos into captioned clips via desktop, CLI, and MCP.

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/nathalie000/4DAnything.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

nathalie000/4DAnything Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about 4DAnything

How do I integrate 4DAnything into an existing video pipeline?

Run inference/precompute.py with --input, then pass the resulting clip directory via --out to inference/infer.py and inference/visualize.py. The stages communicate through that directory. Inspect precompute/masks/ before reconstruction, and use --masks at the precompute stage if your pipeline already supplies masks.

What GPU should I provision, and what does a single forward pass imply for runtime?

The documented setup is Linux with an NVIDIA GPU, Python 3.11, and CUDA 12.4. Budget at least 24 GB of GPU memory for 32 frames and about 48 GB for 50 frames. Size for your intended clip length, and benchmark preprocessing, reconstruction, and rendering separately; the single-pass reconstruction does not establish end-to-end latency.

Does the MIT license let me self-host the full pipeline commercially?

The repository code is MIT-licensed, but the SAM 3D Objects and VGGT-Omega weights have separate terms and require Hugging Face access approval. VGGT-Omega uses the FAIR Noncommercial Research License. Running inference on your own GPU does not remove those restrictions; review the terms for every checkpoint you plan to use or distribute.

When should I use SAM 3D Objects or VGGT-Omega directly instead?

SAM 3D Objects is the underlying object reconstruction backbone; choose it directly if a single-image reconstruction meets your needs. VGGT-Omega provides the clip's pointmaps and camera poses, but not the moving-object reconstruction that 4DAnything builds from them. Use the full pipeline when you need one object reconstructed over time and rendered from novel viewpoints.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining nathalie000/4DAnything? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature nathalie000/4DAnything on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare