Human detection using depth information by Kinect

Lu Xia, Chia-Chih Chen, Jake K. AggarwalWorkshops @ CVPR 2011

Abstract

Traditional human detection systems often struggle with varying illumination, cluttered backgrounds, and non-standard poses. This paper presents a robust framework utilizing depth information from the Microsoft Kinect sensor. By employing a multi-stage approach—combining 2D template matching for initial candidates with 3D hemisphere model verification—the system achieves high accuracy and resilience to articulated poses. Experimental results demonstrate a 98.4% detection accuracy, significantly outperforming traditional window-based depth detection methods.

Introduction

Most contemporary human detection systems, such as those relying on Histograms of Oriented Gradients (HOG) or Scale-Invariant Feature Transform (SIFT), operate on visible-light (RGB) images. While effective under ideal conditions, these methods frequently falter in low-light environments or when subjects adopt non-upright poses (e.g., sitting or bending) that deviate from standard silhouettes.

Depth information offers a compelling alternative. Unlike color data, depth is invariant to illumination and provides distinct spatial boundaries. With the advent of affordable depth sensors like the Microsoft Kinect, it has become feasible to implement sophisticated depth-based detection in real-world indoor settings. This research explores a "head-first" detection strategy that leverages the unique 3D geometry of the human head to distinguish people from background clutter.

Methodology

The proposed framework follows a sequential pipeline designed to move from coarse 2D localization to refined 3D verification and tracking.

Flowchart of the proposed human detection and tracking framework.

1. Preprocessing

Raw depth data from the Kinect often contains "holes" or zero-value pixels where the infrared sensor fails to return a signal. To address this, the system applies nearest-neighbor interpolation followed by a median filter to smooth the depth map and ensure data continuity.

2. 2D Chamfer Distance Matching

To identify potential human candidates rapidly, the system performs a "quick scan" using 2D template matching. After applying a Canny edge detector to the depth map, the resulting edges are matched against a predefined 2D head template using Chamfer distance. This stage is optimized for high recall, ensuring that few actual humans are missed, even at the cost of some false positives.

3. 3D Model Fitting and Verification

For each candidate identified in the 2D scan, the system estimates the expected head size using a cubic regression model based on the subject's distance from the sensor. It then attempts to fit a 3D hemisphere model to the local depth data. This is a critical verification step: while many objects (like lamps or cushions) may resemble a head in 2D, very few possess the specific 3D curvature of a human head. Candidates that do not fit the hemisphere model are discarded.

4. Segmentation and Contour Extraction

Once a head is confirmed, a region-growing algorithm originates from the head's centroid to segment the entire body. To prevent the subject's feet from merging with the floor in the depth map, a specialized 1D filter ($F = [1, 1, 1, -1, -1, -1]^T$) is used to detect the boundary between the vertical body and the horizontal floor plane.

5. Tracking

Finally, a tracking mechanism maintains identity across frames by minimizing an energy score based on spatial displacement and velocity vectors.

Visual Processing Pipeline

The transformation of raw sensor data into a tracked human subject involves several intermediate visual representations.

Visual progression of the detection algorithm: (a) depth map, (b) edge detection, (c) distance transform, (d) head template, and (e) final detection.

As shown in the figure above, the process begins with a colorized depth map (a). Edge detection (b) and distance transformation (c) facilitate the matching against the head template (d). The final result (e) highlights the detected heads, demonstrating the system's ability to isolate humans from complex backgrounds.

Experimental Results

The framework was evaluated on a custom 3D dataset captured in a laboratory environment, consisting of 98 frames at 1200x900 resolution. The scenes included various indoor obstacles and subjects in diverse poses.

The proposed method achieved an overall accuracy of 98.4%, with 100% precision and 96% recall. In a comparative study against a window-based depth similarity method (Ikemura et al.), the proposed approach showed superior robustness. The Ikemura method achieved only 32.9% recall, largely because it relies on upright silhouettes, whereas the head-centric model-based approach successfully detected people in unusual or rotated postures.

Conclusion

The "head-first" strategy proves highly effective for human detection in depth maps. By prioritizing the head as a stable anchor point and verifying it with a 3D geometric model, the system avoids the pitfalls of full-body silhouette matching. While the current system is sensitive to head occlusions, future work aims to incorporate additional anchor points like the torso or hands to enhance resilience. This framework provides a solid foundation for more complex human activity analysis in indoor environments.

Summary updated

BibTeX
@inproceedings{xia2011human,
  author = {Lu Xia and Chia-Chih Chen and Jake K. Aggarwal},
  title = {{Human detection using depth information by Kinect}},
  booktitle = {Workshops @ CVPR},
  year = {2011},
  doi = {10.1109/cvprw.2011.5981811},
}
Figure