Single View Physical Distance Estimation using Human Pose

Xiaohan Fei, Henry Wang, Lin Lee Cheong, Xiangyu Zeng, Meng Wang, Joseph Tighe

Introduction

In applications ranging from social distancing monitoring to autonomous robot navigation, determining metric distances between objects is a fundamental requirement. However, the vast majority of existing surveillance and security infrastructure consists of "uncalibrated" RGB cameras—devices where internal focal lengths and precise orientations relative to the ground are unknown. Traditional solutions often rely on expensive specialized hardware like LiDAR, impractical manual calibration using checkerboard patterns, or multi-view triangulation which is frequently unavailable.

Researchers from Amazon have addressed this challenge by developing a fully automated system that transforms a standard 2D image into a 3D metric space. By utilizing the known average height of a human as a geometric prior, their "direct formulation" approach bypasses error-prone intermediate calibration steps to achieve high-accuracy distance estimation from a single view.

Methods

The proposed system, termed a "pose-based auto-calibration" pipeline, leverages the ubiquity and predictable height of humans in common scenes to serve as reference objects for calibration.

The system architecture consists of a pose detection pipeline followed by an estimator that performs calibration and 3D reconstruction.

The Pipeline

  1. Pose Detection: The system employs HRNet to identify keypoints on individuals, specifically targeting the centers of the ankles and shoulders.
  2. Geometric Prior: The model assumes that people are standing upright on a common, flat ground plane and possess a known average height ($h$).
  3. Direct Linear Formulation: Unlike previous methods that required finding vanishing points and horizon lines first, this approach introduces a method to solve for camera intrinsics (focal length), ground plane orientation, and 3D positions simultaneously through three linear equations. This mathematical simplification significantly reduces numerical errors associated with noise in intermediate steps.
  4. Robustness via RANSAC: To mitigate the impact of outliers—such as misdetected poses or individuals who are not standing upright—the system uses Random Sample Consensus (RANSAC) to iteratively identify the most mathematically consistent ground plane and camera model.

Datasets and Evaluation

The authors evaluated calibration accuracy on established datasets like vPTZ and POM. To address the lack of ground-truth metric distance measurements in existing benchmarks, they introduced MEVADA (MEVA with Distance Annotation). This new dataset includes 4,667 annotated frames from the public MEVA dataset, where human annotators categorized distances between pairs of people into four ranges: 0-1m, 1-2m, 2-4m, and >4m.

Key Results

The proposed method demonstrates significant improvements over existing state-of-the-art techniques and deep-learning baselines:

  • Calibration Precision: On the vPTZ dataset, the method achieved a focal length error as low as 0.35%, a substantial improvement over previous methods which showed errors ranging from 10% to 29%.
  • Distance Classification: On the MEVADA benchmark, the system achieved 78% accuracy in classifying distance ranges. This performance far exceeded a ResNet-based deep learning classifier, which only reached 40% accuracy.
Confusion matrices showing the superior performance of the proposed method (a) compared to the baseline (b) across various distance ranges.
  • Real-time Efficiency: The Python implementation can solve the geometry for scenes containing hundreds of people in tens of milliseconds, making it viable for real-time monitoring applications.

Limitations and Future Work

While robust, the system relies on several "Manhattan World" assumptions. It currently struggles with non-flat surfaces like ramps or stairs and requires upright postures to maintain the height prior. Additionally, the use of a single average height does not yet account for variance between children and adults, which can introduce scale errors. Future research aims to incorporate filters to distinguish between different human heights and to improve robustness in crowded scenes where lower-body keypoints may be occluded.

Summary updated

BibTeX
@inproceedings{fei2021single,
  author = {Xiaohan Fei and Henry Wang and Lin Lee Cheong and Xiangyu Zeng and Meng Wang and Joseph Tighe},
  title = {{Single View Physical Distance Estimation using Human Pose}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.01218},
}
Figure