Automatic Fruit and Vegetable Recognition Based on CENTRIST and Color Representation

Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10125)


Automatic fruit and vegetable recognition from images is still a very challenging task. In this work, we describe and analyze an efficient and accurate fruit and vegetable recognition system based on fusing two visual descriptors: Census Transform Histogram (CENTRIST) and Hue-Saturation (HS) Histogram representation. Initially, background subtraction is applied to the fruit and vegetable images. CENTRIST and HS-Histogram are extracted, as well as Color CENTRIST features for comparison purpose. Then, the feature vector is reduced through Principal Component Analysis (PCA) and Linear Discriminant Analysis (LDA). In the recognition process, K-nearest neighbor (K-NN) and Support Vector Machine (SVM) classifiers are employed. Experiments conducted on a benchmark demonstrate that combining CENTRIST and HS-Histogram representation reached high and competitive recognition accuracy rates compared to other similar works in the literature.


Fruit and vegetable recognition CENTRIST Color features 


  1. 1.
    Arivazhagan, S., Shebiah, R.N., Nidhyanandhan, S.S., Ganesan, L.: Fruit recognition using color and texture features. J. Emerg. Trends Comput. Inf. Sci. 1(2), 90–94 (2010)Google Scholar
  2. 2.
    Chu, W.T., Chen, C.H., Hsu, H.N.: Color CENTRIST: embedding color information in scene categorization. J. Vis. Commun. Image Representation 25(5), 840–854 (2014)CrossRefGoogle Scholar
  3. 3.
    Dubey, S.R., Jalal, A.S.: Fruit and vegetable recognition by fusing colour and texture features of the image using machine learning. Int. J. Appl. Pattern Recogn. 2(2), 160–181 (2015)CrossRefGoogle Scholar
  4. 4.
    Gao, G., Zhao, S., Zhang, C., Yu, X., Li, Z.: Study on fruit recognition methods based on compressed sensing. J. Comput. Theor. Nanosci. 12(9), 2937–2942 (2015)CrossRefGoogle Scholar
  5. 5.
    Leemans, V., Destain, M.F.: A real-time grading method of apples based on features extracted from defects. J. Food Eng. 61(1), 83–89 (2004)CrossRefGoogle Scholar
  6. 6.
    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
  7. 7.
    Sural, S., Qian, G., Pramanik, S.: Segmentation and histogram generation using the hsv color space for image retrieval. In: International Conference on Image Processing, vol. 2, pp. 589–592. IEEE (2002)Google Scholar
  8. 8.
    Wu, J., Rehg, J.M.: CENTRIST: a visual descriptor for scene categorization. IEEE Trans. Pattern Anal. Mach. Intell. 33(8), 1489–1501 (2011)CrossRefGoogle Scholar
  9. 9.
    Zawbaa, H.M., Abbass, M., Hazman, M., Hassenian, A.E.: Automatic fruit image recognition system based on shape and color features. In: Hassanien, A.E., Tolba, M.F., Taher Azar, A. (eds.) AMLTA 2014. CCIS, vol. 488, pp. 278–290. Springer, Heidelberg (2014). doi:10.1007/978-3-319-13461-1_27 Google Scholar

Copyright information

© Springer International Publishing AG 2017

Authors and Affiliations

  • Jadisha Yarif Ramírez Cornejo
    • 1
  • Helio Pedrini
    • 1
  1. 1.Institute of ComputingUniversity of CampinasCampinasBrazil

Personalised recommendations