Abstract

Automatic image recognition is a convenient option for labeling and categorizing fruits and vegetables in supermarkets. This paper proposes the design and implementation of an automatic classification system for Colombian fruits, by training a convolutional neural network. A database was created to train and test the system, which consisted of 4980 images, labeled in 22 classes, each corresponding to pictures of the same kind of fruit, trying to reproduce the variability of a real case scenario with occlusions, different positions, rotations, lightings, colors, etc., and the use of bags. On-training data augmentation was used to further increase the robustness of the model. Additionally, transfer learning was implemented by taking the parameters of a pretrained model used for fruit classification as the new initial parameters of the proposed convolutional network, achieving an increase of the classification accuracy compared with the same model when trained with random initial weights. The final classification accuracy of the network was 98.12% which matches the scores achieved on previous works that performed fruit classification on less challenging datasets. Considering top-3 classification we report an accuracy of 99.95%.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call