File size: 3,245 Bytes
c9be6be
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
---
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 Zhu<sup>1,2</sup>, Michael Posa<sup>1</sup> 路 <sup>1</sup>University of Pennsylvania, <sup>2</sup>University of Michigan

[Project page](https://trac3r-project.github.io) 路 [arXiv](https://arxiv.org/abs/2611.39800) 路 [Code](https://github.com/minghanz/Trac3R)

![Trac3R: an RGB image and its depth map in, complete posed 3-D shapes out](assets/teaser.gif)

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](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`](https://huggingface.co/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:

```python
encoder.half().float()
```

## Use

```bash
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:

```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

```bibtex
@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}
}
```