Introduction
Object detection often faces a trade-off between speed and flexibility. Template-based methods are efficient but struggle with deformable objects like pedestrians. Conversely, part-based models, such as the Deformable Part Model (DPM), handle variations well by identifying individual components (e.g., head, torso, legs) but are computationally intensive. As the number of parts increases to improve accuracy, search time grows linearly, making real-time performance difficult.
This paper introduces Accelerated Feature Synthesis (AFS), a part-based detection method that achieves real-time performance (~10 FPS) on a standard CPU. AFS bridges the gap between high part counts and processing speed by utilizing a novel approximate nearest neighbor algorithm called KD-Ferns and a coarse-to-fine cascade strategy.
Methodology
KD-Ferns for Rapid Search
The core contribution of this work is the KD-Fern algorithm. Traditional KD-trees used for Approximate Nearest Neighbor (ANN) searches often involve complex priority queue operations that can be slower than exhaustive searches for small databases (around 100 parts). KD-Ferns constrain the tree structure so that every node at a given depth shares the same splitting dimension and threshold.
This constraint allows the search process to be converted into a binary string, serving as a direct index into a lookup table. This transformation eliminates the overhead of traditional tree traversal, making the search significantly faster for the "small database" regime typical of part-based models.
Coarse-to-Fine Cascade
To further accelerate detection, the AFS algorithm employs a two-level cascade.
- Level 1 (Coarse): Uses a large stride, larger spatial bins, and fewer features to quickly eliminate approximately 99% of the image.
- Level 2 (Fine): Performs a detailed analysis only on the remaining candidate regions identified in the first stage.
Spatial Inhibition and Feature Sharing
The system uses "spatial inhibition," considering only local maxima of part appearances for final classification. Additionally, by simplifying the SIFT descriptor (removing spatial smoothing), the authors allow different fragments to share underlying gradient orientation histograms, reducing redundant calculations.
Evaluation and Results
The AFS approach was evaluated on the INRIA Pedestrians and Caltech Pedestrian Benchmark datasets. The latter is a large-scale dataset with over 100,000 frames, including various levels of occlusion.
Performance Metrics
- Speed: AFS runs at nearly 10 FPS on 640x480 images using a standard Intel Core i7 CPU. This is 4.5x faster than the Cascaded DPM (c-DPM).
- Efficiency: KD-Ferns are 2.4x faster than exhaustive linear search for this specific task.
- Accuracy: On the Caltech benchmark, AFS achieved an 85% log-average miss rate, remaining competitive with state-of-the-art methods while being significantly faster than the original Feature Synthesis (FS) framework.
Robustness to Occlusion
A significant advantage of AFS is its robustness to partial occlusion. Because it utilizes hundreds of parts, the system can still detect a person even if only a few components are visible, whereas template-based methods often fail in these scenarios.
Conclusion
AFS demonstrates that part-based object detection can achieve real-time performance on standard hardware without relying on GPUs. While there is a minor accuracy trade-off (a slight increase in miss rate compared to the original FS method), the gain in speed makes it a practical solution for real-world applications like autonomous driving. Future work includes extending AFS to multi-component models to better handle extreme viewpoint changes.
Summary updated