Blocking is a difficult problem to solve in the process of image processing and moving object tracking.Aiming at the problem for vehicles blocking in traffic videos,this paper proposes a vehicles blocking segmentation algorithm based on a statistical model.To get the whole area of moving vehicles,the algorithm removes empty space in the foreground template,using the horizontal-vertical scanning method,based on the extraction of moving vehicles.Then the occurrence of blocking is determined by the statistical model.If the vehicles are blocked,the method will get the right blocking points and identify the blocking regions under the premise of adding error correction mechanism.Finally,it has divided out the blocking area by edge detection,so as to obtain the completely separated vehicles.Besides,the experimental results show that this method is able to well solve the problem of partial blocking of vehicles.