Greenhouse melon harvesting is challenged by leaf occlusion and dense clustering, which often lead to unsafe harvesting attempts in conventional detection-only systems. To prioritize operational safety, this study proposes the Risk-Gated Harvestability Decision (RGHD) framework. The approach decouples candidate fruit detection from risk-aware reasoning by integrating a lightweight YOLO11n detector with an EGSA-enhanced ShuffleNetV2 occlusion classifier. A logic-gated module then fuses multi-source cues—occlusion, overlap, and scale—to enforce a Safety-First harvesting policy. Experimental results show the detector achieves an mAP@0.5:0.95 of 75.8% while running at 113.3 FPS. Under the Safety-First policy, the proxy unsafe-acceptance rate (FPR under our operational proxy) decreased from 8.7% to 4.4%, corresponding to a 49.4% relative reduction in the risk of unsafe attempts, while maintaining 88.0% decision precision. Although an Efficiency-First mode is available for high throughput (91.0% recall), the Safety-First strategy provides the robust crop protection necessary for autonomous systems. Overall, RGHD provides a lightweight, risk-aware decision layer that improves operational safety while preserving real-time performance in cluttered greenhouse scenes.
Song et al. (2026) studied this question.