A fruit image segmentation algorithm based on Lab color space and global threshold segmentation was proposed,and the principle of the algorithm was introduced.In order to test the segmentation effect of this algorithm,the segmentation tests of the non-defective fruit image and the defective fruit image were compared.The test result shows that the fruit image segmentation algorithm based on Lab color space and global threshold segmentation can achieve large-scale segmentation without the influence of light and color,and can accurately segment the non-defective fruit image and the defective fruit image.