Mango Inflorescence Detection Based on Improved YOLOv8 and UAVs-RGB Images
Open Access
Abstract
During the flowering period of mango trees, pests often hide in the inflorescences to suck sap, affecting fruit formation. By accurately detecting the number and location of mango inflorescences in the early stages, it can help target-specific spraying equipment to perform precise pesticide application. This study focuses on mango panicles and addresses challenges such as high crop planting density, poor image quality, and complex backgrounds. A series of improvements were made to the YOLOv8 model to enhance performance for this type of detection task. Firstly, a mango panicle dataset was constructed by selecting, augmenting, and correcting samples based on actual agricultural conditions. Second, the backbone network of YOLOv8 was replaced with FasterNet. Although this led to a slight decrease in accuracy, it significantly improved inference speed and reduced model parameters, demonstrating that FasterNet effectively reduced computational complexity while optimizing accuracy. Further, the GAM (Global Attention Module) attention mechanism was introduced as an attention module in the backbone network to enhance feature extraction capabilities. Experimental results indicated that the addition of GAM improved the average precision by 2.2 percentage points, outperforming other attention mechanisms such as SE, CA, and CBAM. Finally, the model’s bounding box localization ability was enhanced by replacing the loss function with WIoU, which also accelerated model convergence and improved the mAP@.5 metric by 1.1 percentage points. Our approach demonstrates a discrepancy of less than 10% compared to manual counted results.Keywords
Funding Information
- Scientific Research Project of the Natural Science Foundation of Hunan Province (2024JJ6226, 2025JJ70506, 2023JJ50419, 23A0581, 24B0755)
- Scientific Research Fund of Hunan Provincial Education Department (2024JJ6226, 2025JJ70506, 2023JJ50419, 23A0581, 24B0755)
This publication has 18 references indexed in Scilit:
- Research on litchi image detection in orchard using UAV based on improved YOLOv5Expert Systems with Applications, 2024
- Maize Leaf Disease Recognition Based on Improved Convolutional Neural Network ShuffleNetV2Plants, 2024
- Review of Lightweight Deep Convolutional Neural NetworksArchives of Computational Methods in Engineering, 2023
- Crop Node Detection and Internode Length Estimation Using an Improved YOLOv5 ModelAgriculture, 2023
- A Wheat Spike Detection Method in UAV Images Based on Improved YOLOv5Remote Sensing, 2021
- End-to-End Object Detection with Transformers2020
- Using YOLOv3 Algorithm with Pre- and Post-Processing for Apple Detection in Fruit-Harvesting RobotAgronomy, 2020
- Apple detection during different growth stages in orchards using the improved YOLO-V3 modelComputers and Electronics in Agriculture, 2019
- CBAM: Convolutional Block Attention Module2018
- SSD: Single Shot MultiBox Detector2016