Improved YOLO11n-OBB for Rotated Watermelon Detection in Complex Field Environments Toward Agricultural Large-Model Applications
Year: 2026
Type: article
Abstract: Intelligent perception of watermelon targets in complex field environments is a key prerequisite for automated harvesting and future collaborative decision-making with agricultural large models. To address severe leaf occlusion, large pose variation, dense adhesion among adjacent fruits, and the inability of conventional horizontal bounding boxes to accurately represent target orientation under natural cultivation conditions, this paper proposes an improved YOLO11n-OBB-based method for rotated watermelon detection. During data preparation, a semi-automatic annotation strategy combining segmentation-mask assistance with circumscribed rectangle fitting was adopted to efficiently construct a watermelon OBB dataset that closely matches the true physical boundaries of the fruits. On this basis, three structural improvements were introduced to the YOLO11n-OBB baseline: an LSK module was selectively embedded into the middle and later stages of the backbone to enhance adaptive receptive-field modeling and occlusion reasoning in complex bac kgrounds; the original neck structure was replaced with a lightweight BiFPN to strengthen bidirectional feature fusion for targets with large-scale variation in field scenes; and KFIoU Loss was incorporated into the rotated box regression branch to alleviate angle sensitivity and boundary discontinuity, thereby improving the convergence stability of orientation parameter learning. On the constructed watermelon OBB test set, the improved model raised [email protected] (OBB) from 0.871 to 0.931, [email protected]:0.95 (OBB) from 0.670 to 0.736, Precision from 0.885 to 0.931, and Recall from 0.849 to 0.908 relative to the YOLO11n-OBB baseline (relative gains of 6.89%, 9.85%, 5.20%, and 6.95%, respectively), while keeping the inference speed at 100 FPS and the parameter count at only 2.71 M. While maintaining a compact model size and high real-time performance, the proposed method significantly improved rotated detection accuracy in crowded and overlapping scenes. In addition, the detection results were encapsulated into a structured JSON perception interface, preliminarily demonstrating the integration pathway of this lightweight front-end for task planning and human–machine collaborative operations with agricultural large models, and indicating its potential for future intelligent agricultural decision-making.
Source: AgriEngineering
Institution: Northeast Agricultural University
Language: English
Topic: Smart Agriculture and AI
Subfield: Plant Science
Domain: Life Sciences
SDG: Zero hunger
Open Access status: gold
Estimated APC paid: $1,930
OpenAlex ID: W7162760423
