The invention discloses a
video based multi-vehicle traffic information detection method. The method includes the steps of acquiring traffic video; setting parameters; initializing a
system; detecting a vehicle object; combining an initial color
background image with an RGB (red, green, blue)
color image in current frame of a video to obtain a self-adapting real-time dynamic color
background image; extracting a
color difference result image fgi; segmenting a Otsu threshold in a
self adaptation manner; removing shadow off a foreground target image; performing morphological operation and filling car
mass; counting cars; judging whether the car is detected by at least one virtual detecting coil or not, if yes, determining that the car is detected by the virtual detecting coil, adding 1 to total number of the cars, and executing the step 5; if not, executing the step 406; and acquiring traffic information of the multiple vehicles. By the aid of the
video based multi-vehicle traffic information detection method, every passing car is traced,
vehicle type and speed of the car are recorded, traffic information of the multiple vehicles such as flow and average speed of different vehicles are obtained, lane crossing vehicles, adhesion and shielding factors of the vehicles are fully considered, anti-interference performance is strong, and detecting accuracy is high.