The invention relates to a high-altitude camera intelligent cleaning method based on an unmanned aerial vehicle, and the method comprises the following steps: S1, setting an unmanned aerial vehicle intelligent cleaning
system, S2, obtaining the omnibearing image of a to-be-cleaned high-altitude camera through a
control system and a high-definition camera of the unmanned aerial vehicle, S3, introducing a multi-scale attention mechanism to improve a YOLO
algorithm, carrying out the detection of smudge points of the image, and carrying out the cleaning of the smudge points of the to-be-cleaned high-altitude camera. S4, the recognized
stain points are converted into three-dimensional space coordinates, the dip angle of a spray head is adjusted, and a central
processing system starts a spraying
system to conduct precise positioning cleaning, S5, after cleaning, the unmanned aerial vehicle is controlled to conduct all-dimensional photographing on the cleaned camera, key point detection of the
stain points is conducted on the obtained picture again, and S6, if no
stain point is detected, the unmanned aerial vehicle is controlled to conduct all-dimensional photographing on the camera. Controlling the unmanned aerial vehicle to return to complete cleaning; and if the smudge points are detected, all-around secondary cleaning is carried out on the smudge points until the smudge points do not exist, and cleaning is completed. The cleaning quality can be improved, the cost is saved, and the risk is reduced.