Abstract
In this paper, we propose a novel algorithm to deal with the problem of visual tracking in some challenging situations, which is based on HOG feature and sparse representation. First of all, describe target according to the HOG feature; secondly, construct the appearance model of target with the sparse representation, and then predict the target position on the basis of the particle filter method. At last, apply Naive Bayes classifier to track target. The experiment results show that the proposed algorithm is superior in accuracy than the classical tracking algorithm and has better robustness in the scene that contains the target posture changes, illumination variations and occlusion.
Introduction
Visual tracking—the process of locating a moving object in a video stream—is a cornerstone of computer vision, yet it remains notoriously difficult due to factors like occlusion, illumination changes, and posture variations. Existing methods often struggle with a trade-off: global methods capture general appearance but fail during partial occlusion, while local methods handle patches better but are prone to "drift." This paper introduces a hybrid approach that bridges this gap by combining local structural information with global appearance modeling.
Proposed Methodology
The proposed algorithm follows a multi-stage pipeline designed for robustness:
- HOG Feature Extraction: The system uses Histogram of Oriented Gradients (HOG) features to describe the target. HOG captures the "shape" of an object by calculating gradient orientations in localized cells, making it relatively invariant to lighting changes.
- Sparse Representation Appearance Model: The authors build a "dictionary" of target templates. New candidate patches are represented as a sparse linear combination of these templates; a patch that can be reconstructed well is likely the target.
- Particle Filter State Estimation: Instead of checking every pixel, the algorithm uses a particle filter to generate hypotheses (particles) based on a Gaussian distribution around the last known position.
- Naive Bayes Classification: To finalize the decision, a Naive Bayes classifier distinguishes the target from the background. This classifier is updated dynamically to adapt to the target's changing appearance over time.
Experimental Evaluation
The algorithm was evaluated using two standard, challenging video sequences: Faceocc2, featuring a face undergoing up to 70% occlusion by a book, and Caviar, a surveillance dataset where targets experience both similar and non-similar object occlusions.
Results and Discussion
The proposed tracker was compared against four mainstream algorithms: IVT, L1, MIL, and PCA, using Mean Center Error (MCE) as the primary quantitative metric.
- Faceocc2 Results: The proposed tracker achieved an MCE of 3.94, outperforming the next best (PCA at 4.34) and significantly beating the L1 tracker (11.43).
- Caviar Results: The performance gap was even more pronounced here. The proposed tracker maintained an error of 4.86, while competing methods like PCA (37.64), IVT (65.75), and MIL (84.15) essentially lost the target.
Qualitatively, the tracker remained stable even when the target's face was almost entirely obscured, whereas competing methods showed "squeezing" effects or drifted away. The primary limitation noted is the higher computational complexity required to integrate these global and local information sources.
Conclusion
By combining HOG features with sparse representation, the proposed algorithm achieves significantly higher accuracy and resilience against heavy occlusion compared to traditional trackers. Future work will focus on optimizing the algorithm's speed to make it more suitable for real-time applications on lower-power hardware.
Summary updated