Call for Paper - January 2022 Edition
IJCA solicits original research papers for the January 2022 Edition. Last date of manuscript submission is December 20, 2021. Read More

Machine Vision based Fruit Classification and Grading - A Review

International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Year of Publication: 2017
Sapan Naik, Bankim Patel

Sapan Naik and Bankim Patel. Machine Vision based Fruit Classification and Grading - A Review. International Journal of Computer Applications 170(9):22-34, July 2017. BibTeX

	author = {Sapan Naik and Bankim Patel},
	title = {Machine Vision based Fruit Classification and Grading - A Review},
	journal = {International Journal of Computer Applications},
	issue_date = {July 2017},
	volume = {170},
	number = {9},
	month = {Jul},
	year = {2017},
	issn = {0975-8887},
	pages = {22-34},
	numpages = {13},
	url = {},
	doi = {10.5120/ijca2017914937},
	publisher = {Foundation of Computer Science (FCS), NY, USA},
	address = {New York, USA}


One of the important quality features of fruits is its appearance. Appearance not only influences their market value, the preferences and the choice of the consumer, but also their internal quality to a certain extent. Color, texture, size, shape, as well the visual flaws are generally examined to assess the outside quality of food. Manually controlling external quality control of fruit is time consuming and labor-intensive. Thus for automatic external quality control of food and agricultural products, computer vision systems have been widely used in the food industry and have proved to be a scientific and powerful tool for by intensive work over decades. The use of machine and computer vision technology in the field of external quality inspection of fruit has been published based on studies carried on spatial image and / or spectral image processing and analysis. A detailed overview of the process of fruit classification and grading has been presented in this paper. Detail examination of each step is done. Some extraction methods like Speeded Up Robust Features (SURF), Histogram of Oriented Gradient (HOG) and Local Binary Pattern (LBP) are discussed with the common features of fruits like color, size, shape and texture. Machine learning algorithms like K-nearest neighbor (KNN), Support Vector Machine (SVM), Artificial Neural Networks (ANN) and Convolutional Neural Networks (CNN) are also discussed. Process, advantages, disadvantages, challenges occurring in food-classification and grading is discussed in this paper, which can give direction to researchers.


  1. Agriculture in India: Information About Indian Agriculture & Its Importance. [online] Date: 18.06.2017.
  2. Agriculture in India [online] Date:18.06.2017.
  3. Google I/O Date:18.06.2017.
  4. Gomes et al., “Applications of computer vision techniques in the agriculture and food industry: a review”, Eur. Food Res. Technol., 235 (6), 989–1000. 2012.
  5. Zhang et al., "Application of computer vision technology in agricultural field", Applied Mechanics and Materials, vol. 462. Trans Tech Publ, pp. 72–76, 2014.
  6. Vibhute et al., "Applications of image processing in agriculture: a survey", Int. J. Comput. Appl., 52 (2), 34–40, 2012.
  7. Diego Sebastián Pérez et al., “Image classification for detection of winter grapevine buds in natural conditions using scale-invariant features transform, bag of features and support vector machines”, Computers and Electronics in Agriculture 135, 81–95, January 2017.
  8. A. Vyas et al, “Colour Feature Extraction Techniques of Fruits: A Survey”, International Journal of Computer Applications (0975 – 8887) Volume 83 – No 15, December 2013.
  9. S. Naik et al, “Shape, size and maturity features extraction with fuzzy classifier for non-destructive mango (Mangifera Indica L., cv. Kesar) grading”, TIAR(978-1-4799-7758-1), 5-11, July 2015.
  10. Rashmi Pandey et al.,” Image Processing and Machine Learning for Automated Fruit Grading System: A Technical Review”, International Journal of Computer Applications (0975 – 8887) Volume 81 – No 16, November 2013.
  11. Sapan Naik and Bankim Patel, “Usage of Image Processing and Machine Learning Techniques in Agriculture - Fruit Sorting”, CSI Communications, ISSN 0970-647X, Volume No. 37, Issue No. 7, pp. 25-27, October 2013.
  12. D.C. Slaughter, “Nondestructive maturity assessment methods for Mango: A review of literature and identification of future research needs”, January 2009.
  13. Baohua Zhang et al.,” Principles, developments and applications of computer vision for external quality inspection of fruits and vegetables: A review”, Food Research International, 62, 326–343, 2014.
  14. Sapan Naik and Bankim Patel,” CIELab based color feature extraction for maturity level grading of Mango (Mangifera Indica L.)”, National journal of system and information technology (0974-3308), VOLUME 7, NO. 1, June 2014.
  15. Cubero, S., Aleixos, N., Moltó, E. et al., “Advances in Machine Vision Applications for Automatic Inspection and Quality Evaluation of Fruits and Vegetables”, Food Bioprocess Technol, 4: 487. doi:10.1007/s11947-010-0411-8, 2011.
  16. Srivastava, Divya, Rajesh Wadhvani, and Manasi Gyanchandani. "A Review: Color Feature Extraction Methods for Content Based Image Retrieval." International Journal of Computational Engineering & Management 18.3 : 9-13, 2015.
  17. Dong Zhang et al.,"Date maturity and quality evaluation using color distribution analysis and back projection”, Journal of Food Engineering, Volume 131, Pages 161-169, June 2014.
  18. Uravashi Solanki et al., "A Survey on Detection of Disease and Fruit Grading", International Journal of Innovative and Emerging Research in Engineering Volume 2, Issue 2, 2015.
  19. C. S. Nandi et al., "Machine Vision Based Techniques for Automatic Mango Fruit Sorting and Grading Based on Maturity Level and Size", DOI: 10.1007/978-3-319-02315-1_2, Springer International Publishing Switzerland 2014.
  20. Giacomo Capizzi et al., "A Novel Neural Networks-Based Texture Image Processing Algorithm for Orange Defects Classification", IJCSA, 2016.
  21. Jana, Susovan, and Ranjan Parekh. "Intra-class Recognition of Fruits using Color and Texture Features with Neural Classifiers." International Journal of Computer Applications 148.11, 2016.
  22. Dr Vishwanath.B.C, S.A.Madival, Sharanbasava.Madole, “Recognition of Fruits in Fruits Salad Based on Color and Texture Features”, International Journal of Engineering Research & Technology, Vol.1 - Issue 7, September, 2012.
  23. G.P. Moreda et al, “Non-destructive technologies for fruit and vegetable size determination – a review”, Journal of Food Engineering 92, 119–136, 2009.
  24. Rashmi Pandey, “non-destructive quality grading of mango (mangifera indica l.) Using image processing”, A dissertation submitted to Uka Tarsadia University, May 2014.
  25. Sergio Cubero et al., “Advances in Machine Vision Applications for Automatic Inspection and Quality Evaluation of Fruits and Vegetables”, doi 10.1007/s11947-010-0411-8, Food Bioprocess Technol 4:487–504, 2011.
  26. Ghulam Muhammad, “Date fruits classification using texture descriptors and shape-size features”, Engineering Applications of Artificial Intelligence, 37, 361–367, 2015.
  27. Sapan Naik and Bankim Patel, “Thermal imaging with fuzzy classifier for maturity and size based non-destructive Mango (Mangifera Indica L.) grading”, 2017 International Conference on Emerging Trends & Innovation in ICT (ICEI), 978-1-5090-3404-8/17, 2017.
  28. Katrin Utai et al.,"Development and assessment of different modeling approaches for size-mass estimation of mango fruits (Mangifera indica L., cv. ‘Nam Dokmai’)", Computers and Electronics in Agriculture, 114, 269-276, May 2015.
  29. Longsheng Fu et al., "Classification of Kiwifruit Grades Based on Fruit Shape Using a Single Camera", Sensors (Basel), 16(7): 1012, doi: 10.3390/s16071012, July 2016.
  30. Moreda, G. P., et al. "Shape determination of horticultural produce using two dimensional computer vision–A review." Journal of Food Engineering 108.2: 245-261, 2012.
  31. Kyosuke Yamamoto et al., "Strawberry cultivar identification and quality evaluation on the basis of multiple fruit appearance features", Computers and Electronics in Agriculture, Volume 110, Pages 233–240, January 2015.
  32. Muhammad, Ghulam. "Date fruits classification using texture descriptors and shape-size features." Engineering Applications of Artificial Intelligence 37: 361-367, 2015.
  33. Yudong Zhang et al., “Fruit classification using computer vision and feedforward neural network”, Journal of Food Engineering Volume 143, Pages 167–177, December 2014.
  34. Suchitra A. Khoje and S. K. Bodhe, “A Comprehensive Survey of Fruit Grading Systems for Tropical Fruits of Maharashtra”, Critical Reviews in Food Science and Nutrition Vol. 55 , Iss. 12, 2015.
  35. F.S.A. Sa’ad et al.,” Shape and weight grading of mangoes using visible imaging”, Computers and Electronics in Agriculture, Volume 115, Pages 51-56, July 2015.
  36. Farid Garcia et al., “Fruit Classification by Extracting Color Chromaticity, Shape and Texture Features: Towards an Application for Supermarkets”, IEEE Latin America Transactions, Volume: 14, Issue: 7, July 2016.
  37. Yudong Zhang et al.,” Fruit classification by biogeography-based optimization and feedforward neural network”, Expert Systems, Volume 33, Issue 3, Pages 239–253, June 2016.
  38. Misigo Ronald et al., “Classification of selected apple fruit varieties using naive bayes”, Indian Journal of Computer Science and Engineering (IJCSE), 2016.
  39. Girshick, R., Donahue, J., Darrell, T., et al., Rich feature hierarchies for accurate object detection and semantic segmentation. Comput. Sci., 580–587, 2014.
  40. Everingham, M.; Eslami, S.M.A.; van Gool, L.; Williams, C.K.I.; Winn, J.; Zisserman, A. The pascal visual object classes challenge: A retrospective. Int. J. Comput. Vis., 111, 98–136, 2015.
  41. Inkyu Sa et al.,” DeepFruits: A Fruit Detection System Using Deep Neural Networks”, Sensors, 16, 1222; doi:10.3390/s16081222, 2016.
  42. Alwanin, Rawabi. An Approach to Image Classification Based on SURF Descriptors and Colour Histograms. Diss. University of Manchester, 2014.
  43. Konaje, Nayan Kumar. "Food recognition and calorie extraction using Bag-of-SURF and Spatial Pyramid Matching methods."
  44. Chaivivatrakul, Supawadee, and Matthew N. Dailey. "Texture-based fruit detection." Precision Agriculture 15.6:662-683, 2014.
  45. Yogesh and A. K. Dubey, "Fruit defect detection based on speeded up robust feature technique," 2016 5th International Conference on Reliability, Infocom Technologies and Optimization (Trends and Future Directions) (ICRITO), Noida, pp. 590-594, 2016.
  46. Histogram of Oriented Gradients Date:20.06.2017.
  47. Tsolakidis, Dimitris G., Dimitrios I. Kosmopoulos, and George Papadourakis. "Plant leaf recognition using Zernike moments and histogram of oriented gradients." Hellenic Conference on Artificial Intelligence. Springer International Publishing, 2014.
  48. Southgate, Jamie. "Food Classification to provide Nutritional Information." 2016.
  49. Olsen, Alex, et al. "In Situ Leaf Classification Using Histograms of Oriented Gradients." Digital Image Computing: Techniques and Applications (DICTA), 2015 International Conference on. IEEE, 2015.
  50. Date:20.06.2017.
  51. Bianco, Simone, et al., eds. Computational Color Imaging: 6th International Workshop, CCIW 2017, Milan, Italy, March 29-31, 2017, Proceedings. Vol. 10213. Springer, 2017.
  52. Tao, Huawei, et al. "Fruits and vegetables recognition based on color and texture features." Transactions of the Chinese Society of Agricultural Engineering 30.16: 305-311, 2014.
  53. Machine Learning A-ZTM: Hands-On Python & R In Data Science by Udemy, 2017.
  54. Woo Chaw Seng and Seyed Hadi Mirisaee, "A New Method for Fruits Recognition System," Electrical Engineering and Informatics, vol. 01, pp. 130-134, August 2009.
  55. Diego Sebastián Pérez et al., “Image classification for detection of winter grapevine buds in natural conditions using scale-invariant features transform, bag of features and support vector machines”, Computers and Electronics in Agriculture 135, 81–95, 2017.
  56. Gonzalo Pajares, Xavier P. Burgos-Artizzu, Angela Ribeiro Alberto Tellaeche, "A computer vision approach for weeds identification through Support Vector Machine," Applied Soft Computing, pp. 908–915, 2011.
  57. Hong Zheng and Hongfei Lu, "A least-squares support vector machine (LS-SVM) based on fractal analysis and CIELab parameters for the detection of browning degree on mango (Mangifera indica L.)," Computers and Electronics in Agriculture, vol. 83, pp. 47-51, January 2012.
  58. Yifei Xu, Li Li , Xiaoli Li, Yong He Shuiguang Deng, "A feature-selection algorithm based on Support Vector Machine-Multiclass for hyperspectral visible spectral analysis," Journal of Food Engineering, May 2013.
  59. N.A. Semary et al., "Fruit-Based Tomato Grading System Using Features Fusion and Support Vector Machine",Advances in Intelligent Systems and Computing 323, DOI: 10.1007/978-3-319-11310-4_35, Springer International Publishing Switzerland 2015.
  60. What are the various types of neural networks?
  61. Ashwini Awate et al., “Fruit disease detection using color, texture analysis and ANN”, Green Computing and Internet of Things (ICGCIoT), 2015 International Conference on, 10.1109/ICGCIoT.2015.7380603, IEEE, January 2016.
  62. O.O. Arjenaki, P. A.Moghaddam and A.M. Motlagh ‖Online tomato sorting based on shape, maturity, size, and surface defects using machine vision,‖ .Turkish Journal of Agriculture and Forestry, vol.37, pp. 62-68,2013.
  63. M. T. Chowdhury, M. S. Alam, M. A. Hasan and M. I. Khan, Vegetables detection from the glossary shop for the blind, IOSR J. Electr. Electron. Eng. 8, 43–53, 2013.
  64. Fan et al., “Prediction of texture characteristics from extrusion food surface images using a computer vision system and artificial neural networks”, Journal of Food Engineering 118(4):426–433 · October 2013 .
  65. Giacomo Capizzi et al.,"Automatic Classification of Fruit Defects based on Co-Occurrence Matrix and Neural Networks",Proceedings of the Federated Conference on Computer Science and Information Systems pp. 861–867, DOI: 10.15439/2015F258, ACSIS, Vol. 5, 978-83-60810-66-8, IEEE, 2015.
  66. Yudong Zhang et al, “Fruit classification using computer vision and feedforward neural network”, Journal of Food Engineering 143:167–177 · December 2014.
  67. TensorFlow Tutorials Date:17.06.2017.
  68. Google Trends: Date:17.06.2017.
  69. Le, Q.V., 2013. Building high-level features using large scale unsupervised learning. In: Acoustics, IEEE International Conference on Speech and Signal Processing, Vancouver, pp. 8595–8598.
  70. JingLei Tang et al., “Weed identification based on K-means feature learning combined with convolutional neural network”, Computers and Electronics in Agriculture 135 (2017) 63–70, January 2017.
  71. JingLei Tang et al., “Weed identification based on K-means feature learning combined with convolutional neural network”, Computers and Electronics in Agriculture 135, 63–70, 2017.
  72. Train your own image classifier with Inception in TensorFlow train-your-own-image-classifier-with.html?m=1, Date:16.06.2017.
  73. Krizhevsky, A., Sutskever, I., Hinton, G.E., ImageNet classification with deep convolutional neural networks. Adv. Neural Inform. Process. Syst. 25 (2), 1097–1105, 2012.


Fruit, Classification, Grading, Machine and Computer Vision.