Download README.md from minghanz/Trac3R: direct link, hf CLI and curl.
- Browser
- Download file 3.25 kB
-
https://huggingface.co/minghanz/Trac3R/resolve/main/README.md
- Command line
-
hf download hf://minghanz/Trac3R/README.md
-
curl -L -o README.md https://huggingface.co/minghanz/Trac3R/resolve/main/README.md
license: other
license_name: tencent-hunyuan-3d-2.1-community
license_link: LICENSE
pipeline_tag: image-to-3d
library_name: pytorch
tags:
- 3d-reconstruction
- rgb-d
- object-pose
- hunyuan3d
Trac3R: Pose-Grounded 3D Object Generative Reconstruction via Point Tracing
Minghan Zhu1,2, Michael Posa1 路 1University of Pennsylvania, 2University of Michigan
Project page 路 arXiv 路 Code
From one image and its depth, Trac3R generates the complete shape of every object and places it at its pose in the camera frame, at metric scale. For each object it returns a mesh that overlays the observed depth, and the similarity transform (rotation, translation, scale) from the shape's own frame to the camera.
This repository holds the weights. The inference code is at https://github.com/minghanz/Trac3R; it downloads this file on the first run.
Files
| File | Content | Size (bytes) | sha256 |
|---|---|---|---|
trac3r-60k.safetensors |
Denoiser (model.*, 830.3 M parameters, fp32) and shape VAE (first_stage_model.*, 329.3 M parameters, fp16); 60,000 training steps |
3,980,024,716 | 1e4df9848d5733c868a54e30fa7b862ea90d52e90899b7a752cb986dc9ba3d55 |
LICENSE |
Tencent Hunyuan 3D 2.1 Community License Agreement | ||
Notice.txt |
Derivative notice and the original Tencent notice |
Image encoder
The weights file does not hold the image encoder. The code downloads
facebook/dinov2-large at commit
47b73eefe95e8d44ec3623f8890bd894b6ea2d6c and rounds its weights to fp16 and back
to fp32, as in training. If you load the encoder yourself, round it the same way:
encoder.half().float()
Use
git clone https://github.com/minghanz/Trac3R && cd Trac3R
pip install -r requirements.txt
python scripts/run.py examples/ycbv_scene59 --sor
An input folder holds rgb.png, depth.png (16-bit, millimeters along the
optical axis, 0 = no depth), camera.json (pinhole K) and masks/<name>.png
(one mask per object). The command writes one folder per mask with
mesh_camera.ply (meters, OpenCV camera axes), mesh_object.ply and pose.json
(x_cam = s * R @ x_obj + t), and one scene.glb for viewing.
From Python:
from trac3r import observation
from trac3r.model import load_model
from trac3r.pipeline import predict
model, cfg = load_model() # downloads this file and DINOv2-large
obs = observation.build(rgb, mask, depth_m, K) # one object; depth in meters, NaN = none
pred = predict(model, cfg, [obs])[0]
pred.export("mesh_camera.ply")
To load a local copy of the weights: load_model(weights="trac3r-60k.safetensors").
Citation
@article{zhu2026trac3r,
title = {Trac3R: Pose-Grounded 3D Object Generative Reconstruction via Point Tracing},
author = {Zhu, Minghan and Posa, Michael},
journal = {arXiv preprint arXiv:2611.39800},
year = {2026}
}
