Introduction
Object detection has long relied on the framework established by Viola and Jones, which utilizes "Haar-like" features—simple rectangular filters that calculate intensity differences between adjacent regions. While effective, this approach suffers from the "Haystack Problem," requiring the evaluation of millions of candidate features, and is limited by an "Adjacency Constraint" that prevents the capture of long-range spatial correlations.
This paper, presented at SCIA 2013, proposes a "smart-search" alternative. By mining features directly from the statistical characteristics of an object class, the authors introduce 2Rec-Features. This method achieves massive training speedups and improved discriminative power by breaking the adjacency barrier.
Methodology: Mining 2Rec-Features
The core of the proposed method is a feature mining workflow that incorporates domain knowledge into the creation process.
1. Mean Image Generation
The process begins by averaging thousands of positive training samples (e.g., faces) to create a "mean image." This image, though blurry, highlights the stable, intrinsic structures of the object category.
2. Watershed Segmentation and Rectangle Approximation
The authors treat the mean image as a topographic relief and apply the Watershed algorithm to segment it into natural regions, such as eyes, nose, and mouth. These irregular segments are then approximated using rectangles based on their statistical properties.
3. Feature Construction
A 2Rec-Feature is formed by pairing any two of these mined rectangles. Unlike standard Haar features, these two rectangles can be non-contiguous, allowing the detector to capture complex symmetries and global structures (e.g., the relationship between two eyes) with a single weak classifier.
Key Results
The 2Rec-Feature approach was evaluated on standard benchmarks, including the MPLap GENKI-4K face database and the UIUC lateral car database.
- Training Speedup: By focusing on a refined, object-specific pool, the authors reduced the feature space by a factor of 100. This led to a total training speed-up of 99.04x.
- Enhanced Discriminative Power: In face detection tests, the 2Rec-Classifier correctly identified ~74% of the training set after only two rounds of boosting, compared to ~52% for the standard Viola-Jones approach.
- Superior Background Rejection: The first stage of the cascaded detector rejected 99.33% of non-face sub-windows, significantly higher than the 97.76% achieved by standard features, which improves inference speed.
Conclusion
The 2Rec-Feature framework demonstrates that incorporating domain knowledge into feature engineering can drastically improve both efficiency and accuracy. By breaking the adjacency constraint of traditional Haar features, the method captures essential object characteristics more effectively. While modern deep learning has automated much of this process, the principles of efficient, structure-aware feature selection remain highly relevant for resource-constrained applications.
Summary updated