Abstract: Shape template matching is an important approach in object detection and recognition. In this paper, we propose a fast and novel object detection method, which represents edge map contours with salient points and retrieves the target object by using a backtracking method with two stages from coarse matching to fine matching. Our method has two main contributions. One is we propose the way to represent contour structure with salient points. The other is that the object detection method proposed can directly operate on the real images, which improves its practicability. According to the experimental results, the proposed approach improves the speed than previous works.
Introduction
Object detection typically falls into two categories: training-based methods (such as deep learning or SVMs) and template-matching. While training-based methods are powerful, they are often "data-hungry," requiring extensive labeled samples that may not be available for niche applications like specialized image indexing or specific security checks.
Template matching serves as a non-training alternative but has historically struggled with computational efficiency and background clutter. For instance, methods like Fast Directional Chamfer Matching (FDCM) are accurate but slow down significantly in messy environments. This research addresses these gaps by introducing a method that is fast enough for real-time use, robust against noise, and capable of working directly on real images without extensive pre-processing.
Proposed Methodology
The core of the proposed system is a "Two-Level Fast Matching" framework that transitions from a broad search to a refined verification.
1. The Coarse Matching Phase
Instead of analyzing every pixel, the system extracts contours and identifies Salient Points (corners and ellipse vertexes). The researchers utilize Chord-to-Point Distance Accumulation (CPDA) to locate corners and an Ellipse Support Region model to identify curved vertexes. These points are connected into line segments, and the middle points of these segments are used to create a 2D Euclidean Distance Transform (EDT) map. A sliding window then scans this map to quickly identify a subset of likely object hypotheses.
2. The Fine Matching Phase and Backtracking
Because the EDT map is reversible, the system can trace coarse hypotheses back to the original salient fragments in the image. This "backtracking" allows the system to apply a novel Shape Contour Descriptor based on the relative angles between salient points only where necessary, avoiding expensive computations across the entire image.
3. Partial Matching via Pareto Framework
To handle real-world challenges like occlusion or deformation, the authors employ a Pareto framework. This treats detection as a multi-objective optimization problem, balancing the "partiality" of the match against "dissimilarity." This allows the system to find the best fit even when the target shape is partially hidden or slightly deformed.
Experimental Results
The algorithm was evaluated using two benchmark datasets: the ETHZ Shape Dataset (containing classes like apple logos, bottles, and giraffes) and the INRIA Horse Dataset (featuring horses in cluttered backgrounds).
- Efficiency Gains: The method consistently outperformed the state-of-the-art FDCM. On average, detection speed improved by 16.46%, with some categories like "Swans" seeing improvements up to 34.90%.
- Accuracy: The system achieved the highest detection rate for the "Giraffes" class in the ETHZ set, which is notoriously difficult due to complex neck and leg structures.
- Robustness: On the INRIA Horse dataset, the method performed comparably to complex learning-based models despite requiring no training phase.
Conclusion and Future Work
By focusing on structural "anchors" (salient points) rather than dense pixel sampling, this method achieves significant speedups without sacrificing accuracy. While the system currently relies on the initial quality of Canny edge detection, future work will focus on improving outline contour detection and refining target boundary location to provide even tighter bounding boxes for detected objects.
Summary updated