Abstract
This study conducted a comprehensive performance evaluation on YOLO11 andYOLOv8, the latest in the "You Only Look Once" (YOLO) series, focusing on theirinstance segmentation capabilities for immature green apples in orchardenvironments. YOLO11n-seg achieved the highest mask precision across allcategories with a notable score of 0.831, highlighting its effectiveness infruit detection. YOLO11m-seg and YOLO11l-seg excelled in non-occluded andoccluded fruitlet segmentation with scores of 0.851 and 0.829, respectively.Additionally, YOLO11x-seg led in mask recall for all categories, achieving ascore of 0.815, with YOLO11m-seg performing best for non-occluded immaturegreen fruitlets at 0.858 and YOLOv8x-seg leading the occluded category with0.800. In terms of mean average precision at a 50\% intersection over union(mAP@50), YOLO11m-seg consistently outperformed, registering the highest scoresfor both box and mask segmentation, at 0.876 and 0.860 for the "All" class and0.908 and 0.909 for non-occluded immature fruitlets, respectively. YOLO11l-segand YOLOv8l-seg shared the top box mAP@50 for occluded immature fruitlets at0.847, while YOLO11m-seg achieved the highest mask mAP@50 of 0.810. Despite theadvancements in YOLO11, YOLOv8n surpassed its counterparts in image processingspeed, with an impressive inference speed of 3.3 milliseconds, compared to thefastest YOLO11 series model at 4.8 milliseconds, underscoring its suitabilityfor real-time agricultural applications related to complex green fruitenvironments.