TLDR: This research introduces SDE-DET, a deep learning model designed for accurate Shatian pomelo detection in challenging orchard environments. By integrating Star Block, Deformable Attention, and Efficient Multi-Scale Attention mechanisms into a Yolov8n base, the model effectively addresses issues like multi-scale objects, occlusion, and small object detection. It utilizes a custom dataset, STP-AgriData, and demonstrates state-of-the-art performance compared to other mainstream detection models, paving the way for advanced automated harvesting robots.
Shatian pomelo, a highly nutritious citrus fruit, is widely cultivated in regions of China like Guangdong, Guangxi, and Jiangxi. Traditionally, harvesting these large and heavy fruits is a labor-intensive and time-consuming manual process, especially in large-scale orchards. To overcome these challenges and boost efficiency, researchers are increasingly focusing on developing automated harvesting technologies. A critical first step in this automation is accurately detecting the pomelos.
Fruit detection has long been a significant area of research in smart agriculture. Early approaches relied on traditional machine vision, involving image processing, color analysis, and feature extraction. While these methods saw improvements with machine learning algorithms like Support Vector Machines (SVM) and Random Forest (RF), they were limited by their dependence on hand-crafted features and difficulty adapting to diverse environments. The advent of deep learning revolutionized this field, enabling models to automatically learn features from images, significantly enhancing detection accuracy and adaptability.
However, detecting Shatian pomelos in complex orchard settings presents unique challenges. These include variations in fruit size (multi-scale issues), obstructions from leaves and tree trunks, and the difficulty of identifying small, distant fruits. The texture and color of Shatian pomelos can also be similar to their surroundings, making them hard to distinguish.
To tackle these specific problems, a new study introduces a precision network called SDE-DET. This model is built upon the lightweight Yolov8n deep learning architecture and is specifically designed for automatic, contactless, and accurate detection of Shatian pomelos. The researchers also created a custom dataset, STP-AgriData, which combines field-collected images with publicly available data to ensure diversity and comprehensiveness, providing a robust foundation for future research.
The SDE-DET model incorporates three key improvements to the Yolov8n baseline:
Star Block Integration
The Star Block is utilized to effectively capture high-dimensional information without significantly increasing computational load. This addresses the issue of feature information loss that can occur in the early stages of a network, especially when dealing with complex images.
Deformable Attention Adoption
Deformable Attention is integrated into the model’s backbone. This innovative attention mechanism allows the model to dynamically adjust its focus, making it more effective at detecting pomelos that are partially hidden or occluded by leaves and branches.
Also Read:
- Smarter Table Detection: Reducing Annotation Costs with Active Learning
- Improving Safety and Interpretability in Autonomous Driving Through Entropy Regularization
Efficient Multi-Scale Attention Mechanism
Multiple Efficient Multi-Scale Attention mechanisms are applied to enhance the model’s ability to learn relevant features and improve feature fusion. This is particularly beneficial for detecting Shatian pomelos of different sizes, including small objects that are far from the camera and often lose feature information.
Experimental results demonstrate that SDE-DET achieves state-of-the-art performance on the STP-AgriData dataset. It outperformed various Yolo series models (Yolov8n, Yolov8s, Yolov9c, Yolov10n, Yolov10s) and other mainstream detection models (Faster R-CNN, Cascade R-CNN, CenterNet, RTMDet-m, DDQ-4scale, DINO-4scale, and RT-DETR) across key metrics such as Precision, Recall, [email protected], [email protected]:0.95, and F1-score. For instance, SDE-DET improved [email protected] by 5.1% compared to Yolov8n and 25.7% compared to Faster R-CNN.
The model’s superior performance is attributed to the combined effect of its integrated components, which allow it to better capture details in complex backgrounds, enhance recognition of occluded fruits, and improve detection of small-scale pomelos. Ablation experiments further confirmed the significant positive impact of each added component on the model’s performance.
With a compact size of 6.69 MB, 3.29 million parameters, and 32.4 GFLOPS, SDE-DET is highly suitable for implementation in embedded systems, making it practical for real-world agricultural robots. While the model shows precise and efficient performance, future research will focus on incorporating more diverse training data and advanced techniques like reinforcement learning to further enhance its robustness and adaptability. The ultimate goal is to develop comprehensive systems for automated picking, fruit grading, and yield prediction for Shatian pomelo and potentially other fruits, thereby streamlining production and promoting sustainable farming practices.
For more detailed information, you can refer to the full research paper: SDE-DET: A Precision Network for Shatian Pomelo Detection in Complex Orchard Environments.


