| With the substantial decline in the manufacturing cost of the car and rapid increase in our national per capita income,even though the car is expensive,it becomes popular in the homes of ordinary people just like ordinary merchandise.But also the rapid growth of vehicle traffic has posed a serious pressure to management staff.The use of intelligent transport system to assist traffic staff work can effectively improve their work efficiency.Intelligent transport system includes vehicle detection,vehicle tracking,vehicle license plate recognition and behavioral analysis module.In that,the vehicle detection module is the basis of vehicle intelligent transport system,whose main task is to detect the movement of the vehicle in the video image.Vehicle detection is the premise of vehicle tracking and vehicle behavior analysis,so the effect of that directly impacts on the whole system can whether run properly and efficiently or not.In this paper,firstly,we study two aspects,the one is the theoretical knowledge of vehicle detection based on imagination,and the other one is vehicle detection algorithm on common moving vehicle.By analyzing the respective advantages and disadvantages of optical flow method,background subtraction,frame difference method in vehicle detection,we finally decide to choice the frame difference method as a basis for vehicle detection algorithm.For the problem of three-frame difference method in the process of moving vehicle detection,we combine it with edge detection algorithm to improve the detecting effect of the three-frame difference method.In the testing process of vehicle act,shadow will lead to a great change to the detected vehicle contour,even affect the accuracy of detection of the vehicle,so it’s necessary to detect the shadow of the vehicle in the vehicle detection process and suppressed.Since there is a certain angle between the image capture device and road,with the smaller space between vehicles,the vehicle test results will appear in a vehicle blocking phenomenon.For solving the test results which appeared in the vehicle blocking phenomenon,firstly,we should calculate the area of communication in the test results and the relationship between the minimum area of the convex hull,then combine the ratio of length and width of its minimum bounding rectangle to determine whether a vehicle blocking phenomenon;at the same time,we delete smaller connected region to prevent some small noise in the final test results;for the communicating area which adhesions occur vehicle,we check the pits of communication area boundary,then combine with the convex hull difference to determine the best split point,by which in order to achieve the segmentation of the vehicle blocking region. |