Abstract
We develop a Bayesian modeling approach for tracking people in 3D from monocular video with unknown cameras. Modeling in 3D provides natural explanations for occlusions and smoothness discontinuities that result from projection, and allows priors on velocity and smoothness to be grounded in physical quantities: meters and seconds vs. pixels and frames. We pose the problem in the context of data association, in which observations are assigned to tracks. A correct application of Bayesian inference to multi-target tracking must address the fact that the model's dimension changes as tracks are added or removed, and thus, posterior densities of different hypotheses are not comparable. We address this by marginalizing out the trajectory parameters so the resulting posterior over data associations has constant dimension. This is made tractable by using (a) Gaussian process priors for smooth trajectories and (b) approximately Gaussian likelihood functions. Our approach provides a principled method for incorporating multiple sources of evidence, we present results using both optical flow and object detector outputs. Results are comparable to recent work on 3D tracking and, unlike others, our method requires no pre-calibrated cameras.
Introduction
Multi-target tracking (MTT) is a fundamental challenge in computer vision. Traditional methods often operate in 2D pixel space, which struggles to distinguish between physical disappearance and temporary occlusion. Furthermore, many existing 3D tracking systems rely on pre-calibrated cameras, limiting their utility in real-world scenarios like surveillance or archival analysis where camera parameters are unknown. This paper presents a fully Bayesian framework that lifts the tracking problem into 3D space, treating occlusions as geometric consequences of projection rather than missing data.
Generative 3D Modeling
The core of our approach is a generative statistical model where targets are represented as elliptical 3D cylinders moving on a flat ground plane. By modeling in 3D, we can apply priors on velocity and smoothness in physical units (meters and seconds), which are more natural for human movement than pixel-based metrics.
Camera Calibration and Projection
A significant advantage of this framework is its ability to perform "calibration on the fly." The system infers camera parameters—including height ($\eta$), pitch ($\psi$), and focal length—alongside person dimensions (height $h$ and width $w$) during the tracking process. This eliminates the need for manual pre-calibration.
Bayesian Inference via Marginalization
In Bayesian MTT, comparing hypotheses with different numbers of tracks is mathematically difficult because the model's dimensionality changes. We solve this by marginalizing out the continuous trajectory parameters. By using Gaussian Process (GP) priors for smooth trajectories and approximately Gaussian likelihood functions, this complex integration becomes tractable. The resulting posterior over data associations has a constant dimension, allowing for direct comparison of different tracking hypotheses.
To explore the massive space of possible associations, we employ Markov Chain Monte Carlo (MCMC) sampling. For continuous variables like camera pitch and person height, we use Hybrid Monte Carlo (HMC) to ensure efficient exploration of the posterior distribution.
Experimental Results
We evaluated the model on the PETS 2009 and TUD benchmarks. On the PETS dataset, the system achieved a Multiple Object Tracking Accuracy (MOTA) of 0.83. Ablation studies highlighted the importance of our 3D reasoning: on the TUD-Campus sequence, enabling occlusion reasoning improved MOTA from 0.73 to 0.84. Additionally, the integration of optical flow proved critical, as its removal caused performance to drop significantly (MOTA 0.59), demonstrating the value of combining multiple evidence sources.
Conclusion
This work demonstrates that a principled Bayesian approach to 3D tracking can achieve state-of-the-art results without the need for pre-calibrated cameras. By marginalizing trajectory parameters and modeling targets in 3D, we create a robust system capable of handling complex occlusions and varying numbers of targets. Future work may extend this to moving camera platforms and more complex human geometries beyond rigid cylinders.
Summary updated