SSViT-YOLOv11: fusing lightweight YOLO & ViT for coffee fruit maturity detection
Authors:
Open Access
- 1 December 2025
- journal article
- Published by Frontiers Media SA in Frontiers in Plant Science
- Vol. 16
Abstract
Accurate identification of coffee fruit maturity is critical for optimizing harvest timing and ensuring bean quality, but manual inspection is time-consuming and prone to subjectivity. Automated visual detection faces challenges including subtle color differences among maturity stages, frequent occlusions within fruit clusters, variable lighting, and abundant small-scale targets. In this paper, we propose SSViT-YOLOv11, an improved YOLOv11n-based framework that integrates Single Scale Vision Transformer (SSViT) into the backbone and refines multi-scale feature fusion to enhance context modeling and small-object representation. The C3K2 modules in YOLOv11n are integrated with Arbitrary Kernel Convolution (AKConv) and multi-scale convolutional attention (MSCA) is added in the head, effectively improving detection accuracy and rendering the model more lightweight. Experimental results show that SSViT-YOLOv11 achieves superior performance across multiple evaluation metrics. Specifically, the model attains a precision of 81.1%, a recall of 77.4%, and a mean Average Precision (mAP@50) of 84.54%, while operating at 23 FPS and requiring only 2.16 million parameters. These results indicate that the proposed model offers a favorable balance of accuracy, inference speed, and model compactness, making it well suited for assisting farmers in coffee fruit maturity assessment.Keywords
This publication has 31 references indexed in Scilit:
- DCMWAF-Net: Dual Cross-Modal Weighted Attention Feature Fusion Network for Multiscale Lunar Crater DetectionIEEE Transactions on Geoscience and Remote Sensing, 2025
- YOLOv1 to v8: Unveiling Each Variant–A Comprehensive Review of YOLOIEEE Access, 2024
- Monitoring coffee fruit maturity using an enhanced convolutional neural network under different image acquisition settingsScientia Horticulturae, 2024
- Computer Vision-Aided Intelligent Monitoring of Coffee: Towards Sustainable Coffee ProductionScientia Horticulturae, 2024
- MTD-YOLO: Multi-task deep convolutional neural network for cherry tomato fruit bunch maturity detectionComputers and Electronics in Agriculture, 2023
- Detection the maturity of multi-cultivar olive fruit in orchard environments based on Olive-EfficientDetScientia Horticulturae, 2023
- Differential Feature Awareness Network Within Antagonistic Learning for Infrared-Visible Object DetectionIEEE Transactions on Circuits and Systems for Video Technology, 2023
- Developing an image processing pipeline to improve the position accuracy of single UAV imagesComputers and Electronics in Agriculture, 2023
- Coffee Maturity Classification Using Convolutional Neural Networks and Transfer LearningIEEE Access, 2022
- Deep-IRTarget: An Automatic Target Detector in Infrared Imagery Using Dual-Domain Feature Extraction and AllocationIEEE Transactions on Multimedia, 2021