[Paper Review] Template Matching based Object Detection Using HOG Feature Pyramid
This paper proposes a template matching-based object detection framework using a Histogram of Oriented Gradients (HOG) feature pyramid to achieve scale-invariant detection. It computes HOG features across multiple image scales, applies normalized cross-correlation for detection, and improves robustness by incorporating multiple positive and negative training samples, resulting in accurate detection across varying poses, scales, and backgrounds.
This article provides a step by step development of designing a Object Detection scheme using the HOG based Feature Pyramid aligned with the concept of Template Matching.
Motivation & Objective
- Address the challenge of detecting objects under varying poses, appearances, and scales in cluttered backgrounds.
- Improve detection robustness by leveraging HOG features that capture gradient orientation distributions.
- Introduce a multi-scale detection strategy using a HOG feature pyramid to handle objects at different sizes.
- Reduce false positives by incorporating a diverse set of negative training samples.
- Enhance detection reliability through non-maximum suppression to eliminate overlapping detections.
Proposed method
- Extract HOG features using 8×8 spatial bins and 9 orientation bins per block, with magnitude thresholding at 10% of maximum gradient response.
- Construct a HOG feature pyramid by scaling the input image at multiple levels (e.g., 0.5× per level) to enable multi-scale detection.
- Perform normalized cross-correlation between the learned template and HOG features at each pyramid level to compute detection scores.
- Aggregate detection scores across all pyramid levels and rescale results back to the original image coordinates.
- Apply non-overlapping detection filtering by enforcing a minimum 128-pixel separation between detected bounding boxes.
- Train the detector using multiple positive templates (from same image) and a large set of negative patches (100 per image) to improve generalization.
Experimental results
Research questions
- RQ1Can HOG-based feature representation improve object detection robustness under pose, scale, and illumination variations?
- RQ2How does multi-scale HOG feature pyramid detection enhance performance compared to single-scale template matching?
- RQ3To what extent does incorporating diverse positive and negative training samples reduce false positives and improve detection accuracy?
- RQ4How effective is non-overlapping detection filtering in preserving distinct object instances while suppressing redundant detections?
- RQ5Does scale-invariant detection using a HOG feature pyramid enable reliable detection of objects at varying sizes in real-world scenes?
Key findings
- Using multiple positive training templates (5) significantly improved detection performance over a single template, reducing missed detections.
- Incorporating 100 negative training patches per image drastically reduced false positives, resulting in cleaner detection outputs.
- The multi-scale HOG feature pyramid enabled detection of objects at different sizes, including previously undetected instances like smaller faces.
- Despite detecting all five objects correctly without scale invariance, the scale-invariant approach expanded detection coverage to include smaller or differently scaled instances.
- Non-overlapping detection filtering successfully suppressed redundant detections, retaining only the most confident and spatially distinct detections.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.