This invention discloses a frequency-domain guided multi-scale deformable alignment method and
system for UAV target detection. The method first acquires and preprocesses a dataset of UAV aerial images. Next, it improves the YOLOv8 model, performing target detection based on the preprocessed UAV
aerial image dataset and outputting the target detection results. Finally, the improved YOLOv8 model is integrated into a pre-configured training environment, using training and validation images from the UAV
aerial image dataset for training and validation. This invention significantly enhances the model's ability to perceive small targets, thereby significantly improving the localization and classification accuracy of small targets, reducing detection errors, and improving overall accuracy.