The invention relates to the technical field of railway environment and
image processing, and discloses a railway environment hidden danger recognition and risk grade evaluation method based on an unmanned aerial vehicle image, comprising the following steps: collecting an unmanned aerial vehicle railway environment image; introducing a cross-stage local connection module fused with a large
convolution kernel
receptive field dynamic adjustment module into a large
convolution kernel
backbone network, constructing a railway environment hidden danger recognition model based on a large
convolution kernel, inputting an unmanned aerial vehicle railway environment image for training, and obtaining the trained railway environment hidden danger recognition model based on the large convolution kernel; the environment
hazard target is used for predicting the unmanned aerial vehicle environment image; according to the predicted
environmental hazard target and the track
mask, calculating the risk distance between the
environmental hazard and the track edge and the actual area of the light floating object and the
pollution object, and according to the calculated risk distance and the actual area, evaluating the railway
environmental risk level; according to the method, the railway environment
risk identification precision and speed are improved, and the
risk level evaluation precision is also improved.