METHOD FOR DETECTING ROAD CONDITIONS AND ELECTRONIC DEVICE
DRIVE
November 30, 2023
A method for detecting road conditions applied in an electronic device obtains images of a scene in front of a vehicle, and inputs the images into a trained semantic segmentation model. The electronic device inputs the images into a backbone network for feature extraction and obtains a plurality of feature maps, inputs the feature maps into the head network, processes the feature maps by a first segmentation network of the head network, and outputs a first recognition result. The electronic device further processes the feature maps by a second segmentation network of the head network, and outputs a second recognition result, and determines whether the vehicle can continue to drive on safely according to the first recognition result and the second recognition result.
Discussion in the ATmosphere