2P1-D17 Human Detection Using Subtraction Stereo with HOG Features

Makoto Arie, Alessandro Moro, Yuma Hoshikawa, Toru Ubukata, Kenji Terabayashi, Kazunori UmedaThe Proceedings of JSME Annual Conference on Robotics and Mechatronics (Robomec) 2010

Abstract

In this paper, we propose a fast and stable human detection method using a stereo camera system called "Subtraction Stereo" with a Histograms of Oriented Gradients (HOG) feature. The proposed method performs scanning detection window using the distance of foreground regions from the subtraction image. Fast and stable human detection is achieved by the HOG feature of foreground regions with on Real AdaBoost classifier. And the experimentally demonstrated that our solution compared normal image with subtraction images. In addition, when we computed the HOG feature, we verified the size of an important cell.

Introduction

Human detection is a cornerstone of modern surveillance and robotics, but it faces a classic "speed vs. accuracy" trade-off. The gold standard for many years has been HOG features paired with a Support Vector Machine (SVM). However, this approach is computationally expensive because it requires a "brute force" search: a detection window must scan every pixel of an image at multiple scales to find people at different distances.

While GPUs can accelerate this, the overhead of transferring large amounts of data between the CPU and GPU often creates a bottleneck. Furthermore, scanning the entire image—including static background areas like walls or trees—increases the likelihood of "false positives." The authors sought a way to prune the search space before the heavy lifting of feature extraction begins.

Methodology

The authors propose a pipeline that uses 3D information to guide the 2D detection process, termed "Subtraction Stereo."

The Subtraction Stereo pipeline isolates foreground regions before matching to calculate disparity.
  1. Subtraction Stereo: Instead of performing standard stereo matching (which is slow), the system first performs background subtraction on both the left and right camera images to isolate foreground regions. It then matches only these foreground regions to calculate disparity (depth).
  2. 3D Measurement: Using the disparity map, the system calculates the real-world distance, height, and width of foreground objects.
  3. Dynamic Window Scaling: Since the system knows the distance to a foreground object, it can estimate how large a human would appear at that distance. It only places HOG detection windows over foreground regions and scales those windows based on a "pseudo-perspective" model (assuming an average human height of 1.68m).
  4. Real AdaBoost Classifier: To further boost speed, the researchers replaced the traditional SVM with a Real AdaBoost classifier, which combines many "weak" learners for faster real-time application.
  5. HOG Feature Extraction: HOG features are only calculated within these targeted, dynamically-sized windows.

The researchers evaluated their system using 1,000 frames of video captured at 320x240 resolution using a Bumblebee2 stereo camera. The classifier was trained on 2,021 positive images and 2,231 negative images.

Key Insights and Ideas

A major innovation is the use of geometry as a search filter. By using the camera's tilt angle and height to calculate expected human size in pixels, the system skips the multi-scale scanning process. Usually, you'd scan an image 10+ times at different scales; here, you scan once with a window sized specifically for the depth of the object.

Relationship between object distance and its pixel dimensions (height and width) used for window scaling.

By limiting HOG calculations to foreground regions, the system ignores the vast majority of the image. This doesn't just save time; it eliminates "distractors" in the background, naturally lowering the false-positive rate. Additionally, the paper highlights that HOG "cell size" is critical. They found that a 6x12 pixel cell provided the best balance between capturing human shape and maintaining processing speed.

Key Results

The "Subtraction Stereo" approach outperformed the standard HOG sliding-window method in every metric:

  • Speed: The proposed method processed frames in 42.8 ms, compared to 158.3 ms for the standard method—a roughly 3.7x speedup, making real-time detection (approx. 23 FPS) viable on a CPU.
  • Accuracy:
    • True Positive Rate: Remained high at 87.5%.
  • False Positive Rate: Dropped dramatically to 0.8% (compared to 3.7% for the standard method).
  • Reliability: The system proved robust even when the camera was mounted at an angle or on uneven ground, thanks to the 3D coordinate transformation.

Limitations and Future Work

The primary limitation identified is occlusion. When multiple people overlap in the frame, the subtraction stereo method struggles to separate them into distinct foreground regions, which can lead to missed detections. To address this, the authors suggest that future work should focus on upper-body HOG features, as the head and shoulders are less likely to be occluded than the full body in a crowd.

Summary updated

BibTeX
@inproceedings{arie2010p,
  author = {Makoto Arie and Alessandro Moro and Yuma Hoshikawa and Toru Ubukata and Kenji Terabayashi and Kazunori Umeda},
  title = {{2P1-D17 Human Detection Using Subtraction Stereo with HOG Features}},
  booktitle = {The Proceedings of JSME Annual Conference on Robotics and Mechatronics (Robomec)},
  year = {2010},
  doi = {10.1299/jsmermd.2010.\_2p1-d17\_1},
}
Figure