An embodiment of the present application provides a collision prediction method, device, medium, and electronic device for a vehicle. This method can be applied to scenarios such as ports, border crossings, mines, highways, or urban traffic. First, vehicle speed information, basic
steering angle control information, and obstacle coordinate information are obtained. Then, based on the target
steering angle control sequence information and vehicle speed information, the predicted
pose of the vehicle within the target
time domain is determined, and the target
steering angle control sequence information is obtained based on the basic steering angle control information; Next, according to the predicted
pose and vehicle
body size information, the vehicle contour information within the target
time domain is determined, and based on the vehicle contour information and obstacle coordinate information, the target collision prediction result of the vehicle is determined, and the target collision prediction result indicates whether the vehicle collides with an obstacle within the target
time domain. This method can reduce the
impact of positioning failure or
abnormality on the collision prediction result and improve the accuracy of collision prediction.