AFDGA: Defect Detection and Classification of Apple Fruit Images using the Modified Watershed Segmentation Method