The purpose of this article is to identify football and related environmental variables through its VR images under the current situation where the vision system has become the only way for football robots to obtain the external environment, so as to improve the chances of winning the game. First of all, this article uses color filtering to enhance the football characteristics in the VR perspective, so as to distinguish the football from the off-field environment and shadows. The optimal threshold of the enhanced image is automatically determined by the Ostu method, so the image will not be affected by shadows during segmentation, and the contour of the image can be segmented. At the same time, using the humanoid medium-sized football game machine system as the platform, the relevant processing algorithms of the humanoid football robot front-view system are studied to realize the work of color image segmentation, edge extraction, straight line extraction, cross-line recognition and target post-recognition. PA-SIFT algorithm is used to quickly identify the graphics. Data verification results show that the recognition rate of the PA-SIFT algorithm can reach 96%, ensuring the real-time and feasibility of the algorithm. In addition, the divide-and-conquer algorithm and the related processing algorithm of the vision system are combined to determine the central area of the image, so that the algorithm is not affected by the external environment, and the algorithm is robust and can improve actual competition.