This paper proposes a moving target detection scheme suitable for camera motion. Firstly, the background model is initialized by a Gaussian mixture model algorithm. Then Kanade-Lucas-Tomasi Feature Tracker (KLT) method is used to detect optical flow feature points of two adjacent frames, RANdom SAmple Consensus (RANSAC) algorithm is used to filter out the correct matching points and obtain a homography matrix, which can recover the background model matching the current frame, the new background model is used to detect moving target of the current frame. In the foreground detection stage, the current pixel is first compared with its own background model, and then compared with the background model of its 8 neighborhood pixels, the algorithm is speeded up without reducing the detection accuracy in this way; In the update stage of the background model, in order to adapt to the background changes caused by camera motion, an age value variable is set for each pixel. The experimental results show that the improved algorithm has a significant improvement in detection accuracy and running time compared to Gaussian mixture background modeling.
Read full abstract