Efficient pest control in orchards is crucial for preserving crop quality and maximizing yield. A key factor in optimizing automated variable-rate spraying is accurate tree canopy size estimation, which helps reduce pesticide overuse while minimizing environmental and health risks. This study evaluates the performance of two advanced convolutional neural networks, PP-LiteSeg and fully convolutional networks (FCNs), for segmenting tree canopies of varying sizes—small, medium, and large—using short-term dense-connection networks (STDC1 and STDC2) as backbones. A dataset of 305 field-collected images was used for model training and evaluation. The results show that FCNs with STDC backbones outperform PP-LiteSeg, delivering superior semantic segmentation accuracy and background classification. The STDC1-based model excels in precision variable-rate spraying, achieving an Intersection-over-Union of up to 0.75, Recall of 0.85, and Precision of approximately 0.85. Meanwhile, the STDC2-based model demonstrates greater optimization stability and faster convergence, making it more suitable for resource-constrained environments. Notably, the STDC2-based model significantly enhances canopy-background differentiation, achieving a background classification Recall of 0.9942. In contrast, PP-LiteSeg struggles with small canopy detection, leading to reduced segmentation accuracy. These findings highlight the potential of FCNs with STDC backbones for automated apple tree canopy recognition, advancing precision agriculture and promoting sustainable pesticide application through improved variable-rate spraying strategies.
Apple harvesting faces increasing challenges owing to rising labor costs and the limited seasonal workforce availability, highlighting the need for robotic harvesting solutions in precision agriculture. This study presents a 6-DOF robotic arm system designed for harvesting in dwarf hedge-planted orchards, featuring a lightweight perception module, a task-adaptive motion planner, and an adaptive soft gripper. A lightweight approach was introduced by integrating the Faster module within the C2f module of the You Only Look Once (YOLO) v8n architecture to optimize the real-time apple detection efficiency. For motion planning, a Dynamic Temperature Simplified Transition Adaptive Cost Bidirectional Transition-Based Rapidly Exploring Random Tree (DSA-BiTRRT) algorithm was developed, demonstrating significant improvements in the path planning performance. The adaptive soft gripper was evaluated for its detachment and load-bearing capacities. Field experiments revealed that the direct-pull method at 150 mN·m torque outperformed the rotation-pull method at both 100 mN·m and 150 mN·m. A custom control system integrating all components was validated in partially controlled orchards, where obstacle clearance and thinning were conducted to ensure operation safety. Tests conducted on 80 apples showed a 52.5% detachment success rate and a 47.5% overall harvesting success rate, with average detachment and full-cycle times of 7.7 s and 15.3 s per apple, respectively. These results highlight the system’s potential for advancing robotic fruit harvesting and contribute to the ongoing development of autonomous agricultural technologies.