Shape-based pedestrian parsing

Yihang Bo, Charless C. FowlkesCVPR 2011

Abstract

We describe a simple model for parsing pedestrians based on shape. Our model assembles candidate parts from an oversegmentation of the image and matches them to a library of exemplars. Our matching uses a hierarchical decomposition into a variable number of parts and computes scores on partial matchings in order to prune the search space of candidate segment. Simple constraints enforce consistent layout of parts. Because our model is shape-based, it generalizes well. We use exemplars from a controlled dataset of poses but achieve good test performance on unconstrained images of pedestrians in street scenes. We demonstrate results of parsing detections returned from a standard scanning-window pedestrian detector and use the resulting parse to perform viewpoint prediction and detection re-scoring.

Introduction

While standard object detectors are highly effective at placing bounding boxes around individuals, they often lack an understanding of internal structure. "Pedestrian parsing," or part-based segmentation, remains a significant challenge due to the high articulation of the human body and drastic variations in appearance caused by clothing.

The authors identify a gap between bottom-up "superpixel" grouping, which is data-driven but lacks semantic meaning, and top-down object detection, which provides meaning but lacks precise boundaries. This research aims to bridge this gap using a hierarchical model focused on shape rather than color or texture. This approach allows the system to recognize a "leg" regardless of whether the subject is wearing jeans, shorts, or a skirt.

Methodology

The proposed system utilizes a Compositional Model that decomposes a pedestrian into a tree-like hierarchical structure.

The pedestrian parsing pipeline: from candidate parts to constrained assembly.
  1. Hierarchy: The body is initially split into three major regions—head, upper-body, and lower-body—which are further subdivided into specific sub-parts such as face, hair, arms, and legs.
  2. Visual vs. Kinematic Parts: Unlike models focusing on skeletal joints, this model uses "visual components." For instance, it treats clothed and unclothed sections of an arm separately because their visual signatures differ, despite belonging to the same bone.
  3. Candidate Generation: The process begins with an oversegmentation of the image (using the gPb-OWT-UCM algorithm), aggregating these segments into candidate part shapes.
  4. Shape Matching: Each candidate segment is scored against a library of manually segmented exemplars using spatial histograms of edge orientations.
  5. Constraints and Pruning: To manage the combinatorial complexity of part combinations, the model enforces "hard" geometric constraints (e.g., the head must be positioned above the torso). A bottom-up parsing strategy is employed, retaining only the top 20% of candidates at each stage to maintain computational efficiency.
Hierarchical decomposition of a pedestrian into visual components.

Datasets

The model was trained and tested using two distinct datasets to evaluate generalization:

  • HumanEva: Used for training, this dataset contains 937 manually segmented exemplars from four individuals performing various actions, labeled with one of eight viewpoints.
  • Penn-Fudan Pedestrian Database: Used for testing, this dataset features pedestrians in unconstrained outdoor street scenes, providing a rigorous test for generalization from controlled lab data.

Key Insights

  • Shape as a Primary Feature: Prioritizing shape over color or texture allows the model to generalize remarkably well, enabling training on lab data to translate to real-world city environments.
  • Syntactic Parsing: Identifying intermediate visual components (like "upper-clothes") before the full object ("person") proves more effective than direct whole-object detection.
  • Geometric Pruning: Hard geometric rules are not just heuristics; they are vital computational tools that allow the search algorithm to discard thousands of impossible part combinations instantly.
  • Detection Feedback: The resulting parse can "re-score" original detections. If a detector finds a "person" but the parser cannot find a logical arrangement of parts within that box, the detection is likely a false positive.

Results

On the Penn-Fudan dataset, the model achieved a per-pixel accuracy of 57.3% for individual parts and 77.2% for overall foreground/background segmentation. Furthermore, the model predicted pedestrian viewpoint with 37% accuracy across eight directions—significantly better than random guessing. Integrating parsing results to re-score a standard HOG-based detector improved the Average Precision (AP) from 0.8570 to 0.8642, notably reducing false positives in high-precision regimes.

Limitations and Future Work

The model currently struggles with low-contrast scenarios (e.g., dark clothing against a dark background) and cluttered environments where small parts like the head may be misidentified. Additionally, highly unusual poses can violate the hard geometric constraints. Future work may involve incorporating top-down feedback to refine initial superpixel boundaries and resolve ambiguities in low-contrast areas.

Summary updated

BibTeX
@inproceedings{bo2011shape,
  author = {Yihang Bo and Charless C. Fowlkes},
  title = {{Shape-based pedestrian parsing}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2011},
  url = {https://openreview.net/forum?id=BkNFKAbOWH},
}
Figure