Abstract:Aiming to achieve effective monitoring of fruit growth in large orchards, a detection algorithm was proposed, Grid R-CNN ScN (similar-color network), to address the challenge of identifying Gannan navel oranges under similar-color backgrounds influenced by lighting. The algorithm enhanced the Grid R-CNN grid point regression mechanism by introducing an identity recurrent neural network (IRNN) module, which added contextual information to iteratively optimize target recognition. A CosineAnnealingLR scheduler was incorporated into the RMSProp optimization strategy to mitigate the problem of insufficient feature learning caused by gradient explosion. The non-maximum suppression (Soft-NMS) algorithm was employed to improve recall rates for Gannan navel oranges under similar-color backgrounds. Additionally, the cross-image sampling (CIS) strategy was used to enhance the model’s generalization ability in such environments. Experimental results demonstrated significant improvements of Grid R-CNN ScN over comparative methods. Compared with Faster R-CNN and Grid R-CNN, the proposed model achieved recall increases of 4.73 and 3.67 percentage points, mAP@50 improvements of 11.78 and 9.27 percentage points, while reducing storage space occupied by 4.29MB and 5.07MB, respectively, with GPU memory consumption decreased to 60% of original models. When evaluated against DETR and Swin Transformer, Grid R-CNN ScN showed recall enhancements of 4.19 and 3.84 percentage points, mAP@50 improvements of 8.05 and 6.22 percentage points, and mAP@50-95 gains of 8.60 and 4.97 percentage points. Storage space occupied by 9.67MB and 2.83MB respectively, with memory usage lowered to 44%. In comparison with YOLO v8 and YOLO v11, the proposed method demonstrated recall increases of 2.15 and 3.09 percentage points, mAP@50 improvements of 5.38 and 6.25 percentage points, and mAP@50-95 enhancements of 2.55 and 3.07 percentage points, and enhanced generalization via cross-image sampling. Ablation studies demonstrated that the proposed improvements substantially improved the recognition accuracy of Gannan navel oranges under Similar-color backgrounds, offering valuable support for fruit growth monitoring in large orchards.