Tropical Fruits Classification Using an AlexNet-Type Convolutional Neural Network and Image Augmentation

  • Alberto Patino-Saucedo
  • Horacio Rostro-GonzalezEmail author
  • Jorg Conradt
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 11304)


AlexNet is a Convolutional Neural Network (CNN) and reference in the field of Machine Learning for Deep Learning. It has been successfully applied to image classification, especially in large sets such as ImageNet. Here, we have successfully applied a smaller version of the AlexNet CNN to classify tropical fruits from the Supermarket Produce dataset. This database contains 2633 images of fruits divided into 15 categories with high variability and complexity, i.e. shadows, pose, occlusion, reflection (fruits inside a bag), etc. Since few training samples are required for fruit classification and to prevent overfitting, the modified AlexNet CNN has fewer feature maps and fully connected neurons than the original one, and data augmentation of the training set is used. Numerical results show a top-1 classification accuracy of 99.56 %, and a top-2 accuracy of 100 % for the 15 classes, which outperforms previous works on the same dataset.


Convolutional neural networks AlexNet CNN Fruit classification Image augmentation 


  1. 1.
    Dubey, S.R., Jalal, A.: Robust approach for fruit and vegetable classification. Procedia Eng. 38, 3449–3453 (2012)CrossRefGoogle Scholar
  2. 2.
    Hawkins, D.M.: The problem of overfitting. J. Chem. Inf. Comput. Sci. 44(1), 1–12 (2004)CrossRefGoogle Scholar
  3. 3.
    Krizhevsky, A., Sutskever, I., Hinton, G.E.: Imagenet classification with deep convolutional neural networks. In: Proceedings of the 25th International Conference on Neural Information Processing Systems, NIPS 2012, vol. 1, pp. 1097–1105. Curran Associates Inc., USA (2012)Google Scholar
  4. 4.
    Lecun, Y., Bottou, L., Bengio, Y., Haffner, P.: Gradient-based learning applied to document recognition. Proc. IEEE 86(11), 2278–2324 (1998)CrossRefGoogle Scholar
  5. 5.
    Rocha, A., Hauagge, D.C., Wainer, J., Goldenstein, S.: Automatic fruit and vegetable classification from images. Comput. Electron. Agric. 70(1), 96–104 (2010)CrossRefGoogle Scholar
  6. 6.
    Schmidhuber, J.: Deep learning in neural networks: an overview. Neural Netw. 61, 85–117 (2015)CrossRefGoogle Scholar
  7. 7.
    Srivastava, N., Hinton, G., Krizhevsky, A., Sutskever, I., Salakhutdinov, R.: Dropout: a simple way to prevent neural networks from overfitting. J. Mach. Learn. Res. 15, 1929–1958 (2014)MathSciNetzbMATHGoogle Scholar
  8. 8.
    Zhang, Y., Wang, S., Ji, G., Phillips, P.: Fruit classification using computer vision and feedforward neural network. J. Food Eng. 143, 167–177 (2014)CrossRefGoogle Scholar
  9. 9.
    Zhao, W.: Research on the deep learning of the small sample data based on transfer learning. AIP Conf. Proc. 1864(1), 020018 (2017)CrossRefGoogle Scholar

Copyright information

© Springer Nature Switzerland AG 2018

Authors and Affiliations

  • Alberto Patino-Saucedo
    • 1
  • Horacio Rostro-Gonzalez
    • 1
    Email author
  • Jorg Conradt
    • 2
    • 3
  1. 1.Department of ElectronicsUniversity of GuanajuatoSalamancaMexico
  2. 2.Department of Electrical and Computer Engineering, Neuroscientific System TheoryTechnical University of MunichMunichGermany
  3. 3.School of Electrical Engineering and Computer ScienceKTHStockholmSweden

Personalised recommendations