TL;DR
JOSH (Joint Optimization of Scene Geometry and Human Motion) is a novel framework that reconstructs both 3D human motion and dense scene geometry from a single "in-the-wild" monocular video. By using human-scene contact as a physical "bridge" to jointly optimize camera, human, and scene parameters in a single stage, JOSH achieves state-of-the-art accuracy and physical realism, effectively eliminating common artifacts like "floating feet."
The Challenge of Monocular Reconstruction
Capturing how humans interact with their environment—whether walking across a street, sitting on a bench, or climbing stairs—is vital for applications ranging from autonomous driving to urban design. However, extracting this 4D information (3D space + time) from a single, unconstrained video is incredibly difficult.
Most existing methods follow a "divide and conquer" approach: they estimate the camera movement, reconstruct the 3D scene, and then try to fit a human model into that scene in separate, serial steps. This disjointed pipeline often leads to physical impossibilities. Humans might appear to float above the ground, sink into the floor, or "skate" across surfaces because the different components were not calculated holistically. Furthermore, monocular videos lack "metric scale," making it difficult to determine absolute sizes and distances without additional context.
Methods: The JOSH Framework
To overcome these limitations, the authors introduce JOSH, an optimization-based framework that treats the human, the scene, and the camera as a single interconnected system.
1. Initialization
JOSH begins by gathering "best guesses" from off-the-shelf models for human mesh recovery (SMPL), scene depth, and camera trajectory.
2. The Contact Bridge
The core innovation of JOSH is leveraging human-scene contact constraints. The system identifies where a person’s body (usually the feet) touches the environment and enforces two key losses during optimization:
- Contact Scene Loss ($L_{c1}$): Forces the human contact points to align perfectly with the 3D scene points. This acts as a "metric anchor," helping the system deduce the true scale of the world.
- Contact Static Loss ($L_{c2}$): Ensures that if a foot is in contact with the ground, it remains stationary across frames, significantly reducing "foot sliding" artifacts.
3. Joint Optimization
Unlike previous works that optimize components sequentially, JOSH optimizes everything simultaneously in a single stage. This includes camera focal length, camera poses, 3D scene point clouds, and human body parameters.
4. Scaling Up with JOSH3R
Because the full joint optimization is computationally heavy (running at roughly 0.8 FPS), the authors used JOSH to generate high-quality "pseudo-labels" for 20 hours of web videos. They then trained a lightweight, end-to-end neural network called JOSH3R on this extensive dataset. This distilled model can predict human trajectories in real-time (15.4 FPS) while maintaining high accuracy.
Key Insights and Results
JOSH was rigorously evaluated on several benchmarks, including SLOPER4D (which features ground-truth LiDAR data), EMDB, RICH, and a newly collected 20-hour Web Video Dataset.
The results highlight several critical advantages of the joint optimization approach:
- Synergy is Key: The human and the scene provide mutual information. The human's height and contact points provide a scale for the scene, while the scene's geometry constrains where the human can realistically move.
- Superior Accuracy: On the SLOPER4D dataset, the best variant of the framework reduced the mean-per-joint error (WA-MPJPE) by nearly 46% compared to previous state-of-the-art methods.
- Physical Realism: The "foot floating rate" (how often a person's feet incorrectly appear off the ground) dropped dramatically from 9.0% in baseline methods to just 2.9% with JOSH.
- Real-time Performance: The distilled JOSH3R model achieves 15.4 FPS on an Nvidia RTX 4090. This makes it roughly 20x faster than the optimization framework while still outperforming traditional models trained only on small, lab-captured datasets.
Limitations and Future Work
While highly effective, JOSH has a few limitations. First, it relies on off-the-shelf models for its initialization; if the initial human detection or depth map is completely wrong, the optimization may struggle to converge. Second, the method relies heavily on visibility. It works best when contact points (like feet) are clearly visible, making crowded scenes or "waist-up" shots more challenging.
Future directions include scaling the training data even further and exploring more complex human-scene interactions, such as humans sitting on chairs or interacting with moving objects.
Summary updated