Abstract—The paper presented a vehicle speed estimation algorithm based on moving target detection in video surveillance. First, extracted the features of moving vehicles by combing using the three frame difference method and the background difference method; secondly, tracked and positioned the moving target according to moving vehicle centroid feature extraction method; finally, estimated the vehicle speed based on mapping relationship between the pixel distance with the actual distance.