This study investigates the low mechanization level of grape picking, and the problems associated with the difficult location of grape picking points in three-dimensional space. A method for rapidly locating the picking points of table grapes based on an infrared tube was proposed in this paper. Firstly, the Otsu algorithm and the maximum connected domain were used to obtain the image of the target grape, which realized the fast recognition and segmentation of the target grape in two-dimensional space. Secondly, a location device for grape-picking points based on an infrared tube was designed, which resolved the technical problem related to the difficulty of locating picking points in three-dimensional space, and realized the accurate positioning of picking points for table grapes. Finally, the experimental results show that the proposed method can quickly and accurately locate the picking points of table grapes in three-dimensional space. The average running time of the proposed algorithm is 0.61 s, and the success rate of location identification is 90.0%. It provides a feasible scheme for the mechanized picking of table grapes.
Aiming at the problem of low intelligence in the automatic navigation of the cuttage and film covering multi-functional machine for low tunnels, this study proposed a navigation line extraction method based on the improved YOLOv5s model, which can achieve the accurate extraction of navigation lines based on two planting methods of seedling transplanting and direct seeding. Firstly, we pre-processed the acquired images using inverse perspective transformation. Next, the Coordinate Attention and Ghost modules were applied to improve the YOLOv5s architecture, increasing the detection accuracy and speed of field targets. Finally, we extracted the feature points and fit the navigation lines based on the shape features of the targets using the geometric method. The experimental results showed that, compared with other algorithms, the accuracy of the proposed algorithm could reach more than 96%, the accuracy of navigation line extraction reached 98%, and the average detection time was 51 ms. The proposed method was robust and universal, and it can provide reliable navigation paths for the cuttage and film covering multi-functional machine.