Video-based vehicle reverse driving event detecting method

The invention belongs to the technical field of video detection, and in particular relates to a video-based vehicle reverse driving event detecting method. The method mainly comprises the following steps of: separating a target and a background in each frame of image in a video to be processed on the basis of the binarization segmentation of blocks, and counting the times that each block becomes a target block on the basis of the time sequences of the blocks; and judging whether a vehicle drives reversely according to the characteristics of counted times projection. Compared with the prior art, the method provided by the invention can be used for detecting all vehicles in a video range and judging a real-time video, is not limited by environment, is short in detecting time, easy to realize and high in accuracy, is suitable for real-time reverse driving event detection, and is wide in application prospect.