The invention relates to the technical field of moving target detection in the field of
pattern recognition, and discloses a moving target detection method in a slowly changing moving background, in acamera video, each frame of image can be segmented into a foreground target and a background, and supposing that the resolution of the camera video is p * q, the moving background sequence is B1, B2,..., Bk, and the
image sequence is X1, X2,..., Xm. The method for detecting the moving target in the slowly-varying moving background comprises the following steps of: firstly, performing
data dimension reduction by using low-rank sparse
decomposition, taking a
video sequence as a subspace set, proposing a calculation model by using
sparse approximation recursive representation in combination withdictionary sparse representation, and then calculating a moving target object by using a background difference method; therefore, the operation complexity is effectively reduced, and the
operation time is shortened; secondly, according to a sparse
code migration idea, the operations are carried out in a down-sampling space, so that the
operand and the requirement on memory storage are further reduced, and meanwhile, the method is suitable for multi-scale target objects and can overcome the influence caused by a very large abnormal region.