This application discloses a
vehicle driving path
planning method and electronic device, relating to the field of
vehicle control technology. The method includes: acquiring image data of the
vehicle driving environment from at least two angles;
processing the image data using a preset
image processing strategy to obtain the location information of pothole regions. The preset
image processing strategy processes the image data in the following order: image closing operation, image opening operation,
edge detection, color segmentation, and contour detection; calculating the depth information of the pothole regions based on the image data and the location information of the pothole regions; and determining adjustment parameters for the
vehicle driving path based on the location information of the pothole regions, the current vehicle speed, and the depth information of the pothole regions, thereby planning the vehicle driving path based on the adjustment parameters. This application's method achieves low-cost, high-real-time, and high-precision intelligent driving path planning in complex road environments, significantly improving vehicle
driving safety and passenger comfort.