journal article·2025-06-01Open access

Tomato ripeness detection method based on FasterNet block and attention mechanism

Ming Chen, Yixuan Xu, Wanxiang Qin, Yan Li, Jiyang Yu

AIP Advances· Volume 15· Issue 6

Abstract

In modern agriculture, accurate detection of tomato maturity is crucial for efficient harvesting and grading. Traditional detection methods rely on manual experience, which is time-consuming, inefficient, and prone to subjective interference, making them unsuitable for large-scale production. To address this, this study proposes a tomato maturity detection model based on an improved YOLOv11n, incorporating the C3k2-Faster-EMA module to enhance the model's feature extraction capability and detection efficiency. In addition, the SimAM attention mechanism is introduced, enabling the model to intelligently focus on key features of the tomatoes, thereby improving its ability to recognize tomatoes at different maturity stages and enhancing detection accuracy. Furthermore, the generalized intersection over union loss function is employed to introduce a target box overlap metric, optimizing the object localization process and improving the precision of fruit positioning. Experimental results on the tomato maturity dataset show that the proposed method performs excellently in tomato maturity detection, achieving an mAP of 86.0% and an accuracy of 85.4%. Compared to the baseline model, the number of parameters is reduced by 11.2%, while the frames-per-second detection speed is increased by 23.1%, with significant improvements in stability. This provides reliable technical support for intelligent harvesting and grading, with broad application prospects.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Spectroscopy and Chemometric Analyses · Smart Agriculture and AI · Leaf Properties and Growth Measurement

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

School of Information and Intelligent Engineering, University of Sanya 1 , Sanya 572022,

Faculty of Engineering, University of Sydney 2 , City Road, Camperdown NSW 2006,

College of Arts and Design, Yulin Normal University 3 , Yulin 537000,

Thalesgroup 4 , Ottawa, Ontario K1K 4Z9,

Graduate School of Management of Technology, Pukyong National University 5 , Busan 48547,

References (30)

Show source-provided references
1. Lightweight tomato ripeness detection algorithm based on the improved RT-DETR10.3389/fpls.2024.1415297 ↗
2. Surface defect inspection of industrial products with object detection deep networks: A systematic review10.1007/s10462-024-10956-3 ↗
3. Tomato maturity recognition model based on improved YOLOv5 in greenhouse10.3390/agronomy13020603 ↗
4. An improved Faster R-CNN model for multi-object tomato maturity detection in complex scenarios10.1016/j.ecoinf.2022.101886 ↗
5. GFS-YOLO11: A maturity detection model for multi-variety tomato10.3390/agronomy14112644 ↗
6. MTD-YOLO: Multi-task deep convolutional neural network for cherry tomato fruit bunch maturity detection10.1016/j.compag.2023.108533 ↗
7. NVW-YOLOv8s: An improved YOLOv8s network for real-time detection and segmentation of tomato fruits at different ripeness stages10.1016/j.compag.2024.108833 ↗
8. Ripe tomato detection algorithm based on improved YOLOv910.3390/plants13223253 ↗
9. You only look once: Unified, real-time object detection
10. YOLO9000: Better, faster, stronger
11. YOLOv3: An incremental improvement
12. A detection algorithm for cherry fruits based on the improved YOLO-v4 model10.1007/s00521-021-06029-z ↗
13. Real-time vehicle detection based on improved YOLO v510.3390/su141912274 ↗
14. YOLOv6+: simple and optimized object detection model for INT8 quantized inference on mobile devices10.1007/s11760-025-04234-0 ↗
15. YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors
16. UAV-YOLOv8: A small-object-detection model based on improved YOLOv8 for UAV aerial photography scenarios10.3390/s23167190 ↗
17. YOLOv9: Learning what you want to learn using programmable gradient information
18. Yolov10: Real-time end-to-end object detection
19. MAS-YOLOv11: An improved underwater object detection algorithm based on YOLOv1110.3390/s25113433 ↗
20. Neural machine translation by jointly learning to align and translate
21. Attention is all you need
22. BERT: Pre-training of deep bidirectional transformers for language understanding
23. Squeeze-and-excitation networks
24. A CBAM based multiscale transformer fusion approach for remote sensing image change detection10.1109/JSTARS.2022.3198517 ↗
25. Run, don't walk: Chasing higher FLOPS for faster neural networks
26. Efficient multi-scale attention module with cross-spatial learning
27. SimAM: A simple, parameter-free attention module for convolutional neural networks
28. Generalized intersection over union: A metric and a loss for bounding box regression
29. Infrared small target segmentation networks: A survey10.1016/j.patcog.2023.109788 ↗
30. DETRs beat YOLOs on real-time object detection