Rotation labels for video
Folding the box rotation once per clip instead of every frame removed all 9 label jumps over 45° in a 4-video SA-V pilot.
Target jumps over 45°
9 → 0
per-frame fold → per-clip fold
Largest step, per-clip fold
11.3°
over 10 pilot objects
Raw WildDet3D steps over 45°
53 / 644
per-frame detector, 6 fps
Height-axis flips
0
11 trajectories, 24 fps
Why labels jump
- A box has 4 equivalent rotations about its height axis (k·90°; odd k swaps W and L).
- The WildDet3D coder keeps one per frame: W ≤ L, yaw folded into [0°, 180°).
- Crossing the fold boundary flips the label 180°; W ≈ L noise flips it 90°.
A box on a turntable
Left: per-frame fold, red face jumps. Right: fold once per clip, red stays under the arrow.
Where jumps come from
- The v2 smoother output is already continuous: 0 steps over 45°.
- Folding every frame in the video coder re-introduced 9 jumps.
- Folding only frame 0 of each clip and reusing that k·90° removed all of them.
Label pipeline
Only the fold position changes; image-path labels keep the per-frame fold.
Rotation steps over 45° per object
Columns: raw detections, smoother output, fold every frame, fold once per clip.
Largest step with per-clip fold
Shading runs from 0° to the 45° jump threshold; the maximum is 11.3°.
90° jumps when W ≈ L
- sav_002191 person: footprint L 0.62 m vs W 0.55 m.
- Per-frame fold: 5 jumps of about 90°; per-clip fold: max step 6.1°.
sav_002191, person
Same 3D box in both panels; only the per-frame label hops 90°, five times in 4.8 s.
Frames 236 to 250
Frames 241 → 242 (42 ms apart): the per-frame +L axis turns 90°; the per-clip one stays.

180° jumps at the fold boundary
- sav_008220 plastic bag rotates through the yaw fold boundary: per-frame target jumps about 175°.
- Per-clip target is a constant 90° offset from the smoother, so it stays continuous.
sav_008220, plastic bag
The per-frame label jumps about 175° as the bag crosses the fold boundary.
Height axis is stable
- 11 trajectories, about 2.6k frames at 24 fps: 0 height-axis flips, 0 height/width swaps.
- Height axes of objects in one video agree within 0.3°–3.3° (one pair 14.7°).
- So only k·90° about the box height axis needs handling.
Method and caveats
- Pilot: 4 SA-V videos, 10 objects. Labels are pseudo-labels (WildDet3D + VGGT + v2 smoother).
- Smoother, per-frame-fold and per-clip-fold steps are counted at 24 fps; raw WildDet3D steps at 6 fps. Steps across label gaps (object absent) are excluded.
- Per-clip fold uses the WildDet3D rule on clip frame 0, so frame 0 matches the image-path label; box corners are identical.
- Labels are geometric: which side is the front is not supervised.
Built by build_wt3d_rotation.py