Work

Rapid Detection of Ripe Tomatoes in Unstructured Environments

Year: 2025
Type: article
Abstract: ABSTRACT To achieve efficient detection of ripe tomatoes in unstructured environments, this paper proposed an improved YOLOv7 rapid detection network model for ripe tomatoes. Firstly, the original YOLOv7 backbone network's CSP‐Darknet53 structure was replaced by the FasterNet network structure to enhance model detection efficiency and reduce the parameters of the model. Secondly, the Global Attention Mechanism (GAM) was introduced to improve the tomato feature expression ability with a small increase in model parameters. Next, a Diverse Branch Block (DBB) module was integrated into the ELAN module in the head structure to improve the model's inference efficiency. Finally, the batch normalization layer γ was selected as the parameter of the sparsity factor in the algorithm. The L 1 regularization term was used to train the original model for sparsity, and the slim pruning algorithm was used for global channel pruning to compress the model size. The pruned model was retrained through model fine‐tuning to adjust the detection accuracy to near the level before pruning. The experimental results show that the improved model has a mean average precision of 96.49%, which is basically unchanged compared to the original model. However, the model parameter count, the computation, and the model size were reduced by 52.16%, 56.84%, and 36.95%, respectively, resulting in a 32.09% increase in the recognition frame rate. Compared to similar object detection models, such as SSD, YOLOv3, YOLOv4, YOLOv5s, YOLOX, and YOLOv8, the Improved‐YOLOv7 model reduced the parameter by 4.44% to 89.05%, computational complexity by 30.37% to 91.18%, and model size by 26.43% to 72.16%. This paper provided technical support for the recognition of ripe tomatoes in unstructured environments.
Language: English
Open Access status: bronze
OpenAlex ID: W4409449670
FWCI: 0.749
Cites: 32
Cited by: 2
Related to: 10