Introduction - If you have any usage issues, please Google them yourself
Based on the safe distance between the front vehicle and the vehicle, the adaptive threshold method is used to determine the threshold of image gray level segmentation, morphological processing, the minimum outer rectangular frame is used to select candidate vehicle targets, and the vehicle hypothesis is validated by collecting the geometric position of shadow under the vehicle.