Moving object detection by scanning monitor in camp's area

In order to solve the problem of moving object auto-detection of large field in camp's area,this paper proposed a new method about moving object detection which based on scanning monitor.By using Pan-Tilt-Zoom(PTZ) camera to scan a certain cycle time when no moving object to get the vertical projection using the result of vertical edge detection.When entering real-time video,by comparing the similarity between feature map of real-time frame and background frame to find out the most similar one to real-time video.Based on the irregular shape K-degree template matching to compensate the real-time image and got the foreground due to background subtraction.By setting up a method of using block template to connect foreground to find out the solution to incoherence of foreground area.Experiment resuls show the method of searching background reduces the dimension of calculation.The matching algorithm is robust and fast under the condition of local lighting,noise.The algorithm of foreground connection is effective and efficient.