This invention discloses a method, device, and medium for
drone flight path planning, relating to the field of photovoltaic cleaning. The method includes: first, acquiring a
single image of the area of the component to be cleaned and a
LiDAR point cloud, then stitching them together to output an
orthophoto; rasterizing the
point cloud to generate a two-dimensional elevation mean model, and extracting component edges and identifying corner points from the image; using geometric fusion to project the corner points onto the model to obtain preliminary three-dimensional coordinates of the corner points, which are then optimized through
principal component analysis; next, clustering and fusing the corner points from multiple images, overlaying them with the optimized coordinates onto the
orthophoto for
verification, forming a set of regional corner point coordinates and grouping them; finally, generating a two-dimensional flight path based on this and the flight path spacing, explicitly specifying the absolute elevation to obtain the target cleaning flight path. This method integrates multi-
source data, utilizes single images for precise corner point identification, employs
LiDAR point clouds to improve positioning accuracy, and relies on orthophotos to ensure complete global analysis. The generated flight path has high accuracy and strong adaptability, accurately guiding
drone cleaning and improving efficiency and quality.