Patent Document ID: 10068343
Application ID: 15120989
Patent Status: 1

Claim One:
1. A method for recognizing a moving target in an apparatus for recognizing a moving target, comprising: step A, collecting video images that contain backgrounds and moving targets; step B, modeling a first frame of the video images and obtaining a first background model; step C, calculating and obtaining a first differential image according to a second frame of the video images and the first background model; step D, modeling the second frame of the video images and obtaining a second background model; step E, calculating and obtaining a second differential image according to a third frame of the video images and the second background model; step F, calculating and obtaining a first binary image and a second binary image respectively according to the first differential image and the second differential image; step G, obtaining a variation region of the moving target according to the first binary image and the second binary image; and step H, sequentially and repeatedly performing the steps A-G and detecting variation regions of all moving targets; wherein after the step G, the method further comprises: performing a two-dimensional cross entropy threshold division process based on spacial neighborhood information for the variation region of the moving target, and using image blocks with the same size to judge whether there exists a moving target in the variation region of the moving target, wherein each of the image blocks is a divided small region with a size that exceeds a preset pixel size; wherein a step of using image blocks with the same size to judge whether there exists a moving target in the variation region of the moving target particularly comprises: dividing variation regions of all moving targets by the image blocks with the preset image size, counting the total number of image blocks that are used to divide the variation regions of moving targets, wherein the total number of image blocks that are used to divide the variation regions of moving targets is defined as N1; detecting the image blocks with the number of N1 one by one; wherein, if a pixel number of the moving target contained in one of the image blocks exceeds a preset pixel number, the image block is counted once; counting a number of the image blocks which has the pixel number that exceeds the preset pixel number, wherein the number of the image blocks which has the pixel number that exceeds the preset pixel number is defined as N2; and dividing N2 by N1, and judging that there exists a moving target in the variation region of the moving target when a division result exceeds a preset value.