Development of image recognition software based on artificial intelligence algorithm for the efficient sorting of apple fruit