Applied Sciences (Oct 2024)
BHI-YOLO: A Lightweight Instance Segmentation Model for Strawberry Diseases
Abstract
In complex environments, strawberry disease segmentation models face challenges, such as segmentation difficulties, excessive parameters, and high computational loads, making it difficult for these models to run effectively on devices with limited computational resources. To address the need for efficient running on low-power devices while ensuring effective disease segmentation in complex scenarios, this paper proposes BHI-YOLO, a lightweight instance segmentation model based on YOLOv8n-seg. First, the Universal Inverted Bottleneck (UIB) module is integrated into the backbone network and merged with the C2f module to create the C2f_UIB module; this approach reduces the parameter count while expanding the receptive field. Second, the HS-FPN is introduced to further reduce the parameter count and enhance the model’s ability to fuse features across different levels. Finally, by integrating the Inverted Residual Mobile Block (iRMB) with EMA to design the iRMA, the model is capable of efficiently combining global information to enhance local information. The experimental results demonstrate that the enhanced instance segmentation model for strawberry diseases achieved a mean average precision (mAP@50) of 93%. Compared to YOLOv8, which saw a 2.3% increase in mask mAP, the improved model reduced parameters by 47%, GFLOPs by 20%, and model size by 44.1%, achieving a relatively excellent lightweight effect. This study combines lightweight architecture with enhanced feature fusion, making the model more suitable for deployment on mobile devices, and provides a reference guide for strawberry disease segmentation applications in agricultural environments.
Keywords