The invention discloses an anti-shielding tracking method based on multi-scale spatial constraint, which comprises the following steps of: extracting HOG (
Histogram of Oriented Gradient) features, CN (Content Network) features and gray features of a candidate target area, and reducing dimensions of the HOG features and the CN features by using a PCA (
Principal Component Analysis) method to accelerate the operation efficiency; a channel weight fusion method is adopted, a filter is independently trained for each layer of features, the
response effect of an effective feature layer is more prominent through self-adaptive fusion weight, and the problem that multi-feature response fusion is insufficient is solved; a step space constraint method is provided, and a
color space constraint model, constraint model error covering target information and an airspace constraint model limitation effect are optimized; through an
adaptive learning rate and a
diffusion search method, irrelevant information learned by a filter is reduced, and the tracking accuracy when a target is shielded is improved; a
ternary tree scale acceleration method is provided, a scale filter is introduced, and on the basis of the scale filter, a parallel structure of the scale filter is transformed into a
ternary tree classification structure.