DOI: 10.3390/agriculture16161775 ISSN: 2077-0472

GOPD-YOLO: A Lightweight Oriented Object Detection Network for Real-Time Scallion Posture Recognition

Yajing Jin, Kejia Zhai, Xue Li, Ying Kong, Yue Song, Qingjiang Li, Guangming Wang, Hongen Guo

Precise and real-time posture recognition of scallions during harvesting and post-harvest processing is critical for automated conveying, orientation adjustment, bundling, and packaging. Nevertheless, their slender and flexible form, varied spatial orientations, target overlap, lighting fluctuations, background interference, and constrained computational resources of edge devices present significant obstacles to reliable visual perception. This research introduces GOPD-YOLO, a lightweight oriented object-detection network built on the YOLOv8-OBB framework. The network integrates partial-convolution-based lightweight feature extraction to minimize redundant computation, large separable-kernel attention to boost long-range structural representation, and a shared detail-enhanced detection head to improve boundary- and orientation-sensitive prediction. A custom dataset comprising 1500 conveyor-belt images under diverse scallion posture scenarios was developed for model training and assessment. GOPD-YOLO attained a precision of 90.6%, a recall of 94.5%, an mAP@0.5 of 93.2%, and an mAP@0.5:0.95 of 71.5%, with 2.38 million parameters, 6.6 GFLOPs, and a model size of 4.9 MB. Relative to YOLOv8n-OBB, GOPD-YOLO enhanced recall by 3.8 percentage points while decreasing parameter count and model size by 22.7% and 22.2%, respectively. Deployment tests were performed on the Jetson Orin NX Super platform across varying conveyor speeds, lighting conditions, and scallion stacking levels to evaluate the model’s practical utility. These results indicate GOPD-YOLO’s potential as a lightweight vision-based solution for scallion posture recognition in automated harvesting and post-harvest processing.

More from our Archive