MSW-YOLOv11n: A Lightweight Model with Spatial–Channel Attention for Cherry Tomato Maturity Detection
Yuhui Shan, Shiping Zhu, Yafeng Chen
Key points
From the paper's conclusion- These results demonstrate improved detection accuracy with reduced model complexity, supporting further development of intelligent cherry tomato grading systems.
Abstract
Accurate cherry tomato maturity detection is important for automated harvesting and grading. To address occlusion, fruit overlap, illumination variation, and edge computing constraints, this study proposes a lightweight model, MSW-YOLOv11n. Based on YOLOv11n, the model incorporates a MobileNetV4 backbone to reduce model complexity, a spatial–channel attention module, RipenessAttn, to enhance maturity-related feature representation, and the Wise-IoU v3 (WIoU v3) loss to improve bounding-box regression. Comparative, ablation, and pruning experiments were conducted on a custom dataset covering five maturity stages. The unpruned model achieved a precision of 89.49%, a recall of 89.33%, and an mAP@0.5 of 94.82%, with 2.15 × 106 parameters and 4.76 GFLOPs. Compared with YOLOv11n, these detection metrics increased by 6.21, 6.06, and 6.62 percentage points, respectively, while parameter count and computational cost decreased by 16.99% and 26.09%. At a pruning ratio of 50%, the model required 1.47 × 106 parameters and 3.65 GFLOPs, with an mAP@0.5 of 93.15% and an ONNX file size of 5.98 MB. Deployed on Jetson Nano using TensorRT FP16, the pruned model achieved a measured processing time of 47.22 ms per frame and a processing rate of 21.18 frames/s under the tested conditions. These results demonstrate improved detection accuracy with reduced model complexity, supporting further development of intelligent cherry tomato grading systems.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- FDA-YOLO: A Feature Fusion and Attention-Based Network for Multiscale Tomato Maturity Detection in Real-World Agricultural ScenariosSensors · 2026
- ToRLNet: A Lightweight Deep Learning Model for Tomato Detection and Quality Assessment Across Ripeness StagesHorticulturae · 2025
- Efficient-tomato: a high-precision and lightweight method for cherry tomato ripeness and disease detection.Frontiers in plant science · 2026
- CMD-YOLO: A lightweight model for cherry maturity detection targeting small objectSmart Agricultural Technology · 2025
- YOLO-MSRF: A Multimodal Segmentation and Refinement Framework for Tomato Fruit Detection and Segmentation with Count and Size Estimation Under Complex IlluminationAgriculture · 2026
- DPDB-YOLO: A lightweight YOLOv13 cherry tomato ripeness detection method with adaptive extraction module and multi-scale feature fusion architectureIndustrial Crops and Products · 2025