Abstract:The agricultural workers are the core of intelligent supervision in facility agriculture. Using pesticide spraying operations as an example, the challenge of supervising personnel in complex environments such as greenhouse facilities was addressed. The focus was on personnel who use backpack sprayers for spraying operations in facility pitaya orchards, and a re-identification (ReID) method for facility pitaya orchard spraying personnel based on Gait-AVG was proposed. Multi-scale image feature extraction based on ResNet was achieved by the model, resulting in diverse features after undergoing temporal pooling and horizontal pooling pyramid. To bolster the efficacy of ReID in discerning sprayers amidst complex orchard settings, a mean pooling feature fusion technique was introduced. This method not only mitigated computational overhead but also leveraged multi-scale information to yield superior performance outcomes. Leveraging two distinct loss functions, namely Triplet Loss and Cross Entropy Loss, the training model was synthesized to bolster the monitoring and generalization capabilities pertinent to spraying behavior recognition. In order to substantiate the efficacy of the proposed methodology, a comprehensive facility environment spraying behavior dataset was curated, ensuring consistency in sample features and effective classification. The experimental evaluation of the proposed methodology on the CASIA-B dataset demonstrated compelling performance metrics: average Rank-1 accuracies of 96.55%, 92.19%, and 79.47% were attained for normal walking (NM), walking with backpack (BG), and walking with coat (CL) tasks, respectively. Notably, the proposed sprayer ReID method was validated in a production orchard, achieving a recognition accuracy of 91.49%. Furthermore, robustness tests under occlusion, variation in shooting angle, and diverse lighting conditions yield recognition accuracies of 78.06%, 97.50%, and 96.00%, respectively. The results indicated that this method can be used to identify and track personnel involved in spraying operations within facility environments. This study could effectively enhance the production efficiency of facility pitaya orchards and provide technical references for intelligent supervision of pitaya orchards.