Skip to main content
Log in

Machine learning based quality evaluation of mono-colored apples

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

In the field of agriculture science, automatic visual inspection improves the commercial, quality and fertility of the country. It is very challenging to sort the fruit based on quality because of varieties of fruits available in the market. Human grades the fruit but it is inconsistent, stagnant, and expensive and influenced by the surrounding. Thus an effective system for grading of fruit is desired. In this paper, an automated fruit grading system is developed for apple to classify based on external quality. The different combination of several features are considered depending on the damages exposed on apple fruits. In this work, these features are considered as input to train Support Vector Machine (SVM). The classifier has been contemplated with two different database of apple: one having 100 color images out of which 24 are of apples with various defects and the other dataset having 112 color images out of which 56 are of apples with various defects. The system performance has been validated using k-fold cross validation technique by considering different values of k. The maximum accuracy 96.81% and 93.00% for two dataset respectively, achieved by the system is encouraging and is comparable with the state of art techniques.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

References

  1. Ali MAH, Thai KW (2017) Automatic fruit grading system. Int Symp Robot Manuf Autom

  2. Anderson ER, You JS, Cuccia DJ, Tromberg BJ, Durkin AJ (2006) Spatial frequency domain imaging for quality assessment of apples. Quantum Electronics and Laser Science Conference

  3. Anonymous (2004) Commission regulation (ec) no 85/2004 of 15 January 2004 on marketing standards for apples. Off J Eur Union L 13:3–18

    Google Scholar 

  4. Arlimatti S (2012) Window based method for automatic classification of apple fruit. Int J Eng Res Appl 2(4):1010–1013

    Google Scholar 

  5. Ashok V, Vinod DS (2014) Automatic quality evaluation of fruits using probabilistic neural network approach” in international conference on contemporary computing and informatics (IC3I) IEEE, pp 308–311

  6. Baranowski P, Mazurek W, Wozniak J, Majewska U (2012) Detection of early bruises in apples using hyperspectral data and thermal imaging. J Food Eng 110:343–355

    Google Scholar 

  7. Bennedsen BS, Peterson DL, Tabb A (2005) Identifying defects in images of rotating apples. Comput Electron Agric 48:92–102

    Google Scholar 

  8. Bennedsen BS, Peterson DL, Tabb A (2007) Identifying apple surface defects using principle component analysis and artificial neural network. Am Soc Agric Biol Eng 50(6):2257–2265

    Google Scholar 

  9. Bhargava A, Bansal A (2018) Fruits and vegetables quality evaluation using computer vision: a review. J King Saud Univ Comput Inf Sci. https://doi.org/10.1016/j.jksuci.2018.06.002

  10. Bhargava A, Bansal A (2019a) Quality evaluation of mono & bi-colored apples with computer vision and multispectral imaging. Multimed Tools Appl. https://doi.org/10.1007/s11042-019-08564-3

  11. Bhargava A, Bansal A (2019b) Automatic detection and grading of multiple fruits by machine learning. Food Anal Methods. https://doi.org/10.1007/s12161-019-01690-6

  12. Blasco J, Aleixos N, Molto E (2003) Machine vision system for automatic quality grading of fruit. Biosyst Eng 85(4):415–423

    Google Scholar 

  13. Burges (1998) A tutorial on support vector machines for pattern recognition. Data Min Knowl Disc 2:121–127

    Google Scholar 

  14. Chen X, He F, Yu H (2019) A matting method based on full feature coverage. Multimed Tools Appl 78(9):11173–11201

    Google Scholar 

  15. Cortes C, Vapnik V (1995) Support vector networks. Mach Learn 20:273–297

    MATH  Google Scholar 

  16. Dubey SR, Jalal AS (2012) Detection and classification of apple fruit diseases using complete local binary patterns. Int Conf Comput Commun Technol 12012

  17. Dubey SR, Jalal AS (2015) Apple disease classification using color, texture and shape features from images. SIViP 10(5):819–826

    Google Scholar 

  18. Fan DP, Cheng MM, Liu JJ, Gao SH, Hou Q, Borji A (2018) Salient objects in clutter: bringing salient object detection to the foreground, 1–17

  19. Fu K, Zhao Q, Gu IY, Yang J (2019) Deepside: A general deep framework for salient for salient object detection. Neurocomputing 356(2019):69–82

    Google Scholar 

  20. Ghabousian A, Shamsi H (2012) Segmentation of apple color images utilizing fuzzy clustering algorithms. Advances in Digital Multimedia

  21. Gopal A, Subhasree R, Srinivasan VK (2012) Classification of color objects like fruits using probability density function. Int Conf Mach Vis Image Process 1–4

  22. Haralick RM, Shanmugam K, Dinstein I (1973) Textural features for image classification. IEEE Trans Syst Man Cybern 3(6):610–621

    Google Scholar 

  23. Jawale D, Deshmukh M (2017) Real time bruise detection in apple fruits using thermal. Int Conf Commun Signal Process 1080–1085

  24. Kalluri SR, Apple, Orange, Banana Images are retrieved January 15, 2018 from https://www.kaggle.com/sriramr/fruits-fresh-and-rotten-for-classification

  25. Kang L, Fazhi H, Haiping Y, Xiao C (2017) A correlative classifiers approach based on particle filter and sample set for tracking occluded target. Appl Math A J Chin Univ 32(3):294–312

    MathSciNet  Google Scholar 

  26. Kavdir I, Guyer DE (2003) Apple grading using fuzzy logic. Turk J Agric For 27:375–382

    Google Scholar 

  27. Khade S, Pandhare P, Navale S, Patil K, Gaikwad V (2016) Fruit quality evaluation using k-means clustering approach. Int J Adv Sci Eng Technol 4(2):27–31

    Google Scholar 

  28. Khoje SA, Bodhe SK, Adsul A (2013) Automated skin defect identification system for fruit grading based on discrete curvelet transform. Int J Eng Technol 5(4):3251–3256

    Google Scholar 

  29. Kleynen O, Leemans V, Destain MF (2003) Selection of the most efficient wavelength bands for 'jonagold' apple sorting. Postharvest Biol Technol 30(3):221.232

    Google Scholar 

  30. Kleynen O, Leemans V, Destain MF (2004) Development of a multi-spectral vision system for the detection of defects on apples. J Food Eng 69(1):41–49

    Google Scholar 

  31. Leemans V, Destain MF (2004) A real-time grading method of apples based on features extracted from defects. J Food Eng 61(1):81–89

    Google Scholar 

  32. Leemans V, Magein H, Destain M-F (1998) Defect segmentation on 'golden delicious' apples by using colour machine vision. Comput Electron Agric 20(2):117–130

    Google Scholar 

  33. Leemans V, Magein H, Destain M-F (1999) Defect segmentation on 'jonagold' apples using colour vision and a bayesian classification method. Comput Electron Agric 23(1):43.53

    Google Scholar 

  34. Leemans V, Magein H, Destain MF (2002) On-line fruit grading according to their external quality using machine vision. Biosyst Eng 83(4):397–404

    Google Scholar 

  35. Li K, He F, Yu H, Chen X (2018) A parallel and robust object tracking approach synthesizing adaptive Bayesian learning and improved incremental subspace learning. Front Comput Sci 13:1116–1135. https://doi.org/10.1007/s11704-018-6442-4

    Article  Google Scholar 

  36. Lv X, He F, Yan X, Wu Y, Cheng Y (2019) Integrating selective undo of feature-based modeling operations for real-time collaborative CAD systems journal. Futur Gener Comput Syst. https://doi.org/10.1016/j.future.2019.05.021

  37. Moallem P, Serajoddin A, Pourghassem H (2017) Computer vision based apple grading for golden delicious apples based on surface features. Inf Process Agric 4:33–40

    Google Scholar 

  38. Moradi G, Shamsi M, Sedaaghi MH, Moradi S (2011) Apple defect detection using statistical histogram based fuzzy C-means algorithm. Iramian Conf Mach Vis Image Process (2011)

  39. Ou X, Pan W, Xiao P (2014) Vivo skin capacitive imaging analysis by using grey level co-occurrence matrix (GLCM). Int J Pharm 460(2):28–32

    Google Scholar 

  40. Pan Y, He F, Yu H (2019) A novel enhanced collaborative autoencoder with knowledge distillation for top-N recommender systems. Neuro Comput 332:137–148

    Google Scholar 

  41. Pereira AC, Reis MS, Saraiva PM, Marques JC (2011) Madeira wine ageing prediction based on different analytical techniques: UV–vis, GC-MS, HPLC-DAD. Chemom Intell Lab Syst 105(1):43–55

    Google Scholar 

  42. Radojević RL, Petrović DV (2011) Digital parameterization of apple fruit size, shape and surface spottiness. Afr J Agric Res 6(13):3131–3142

    Google Scholar 

  43. Raheja JL, Kumar S, Chaudhary A (2013) Fabric defect detection based on GLCM and Gabor filter: a comparison. Opt – Int J Light Electron Opt 124(23):6469–6474

    Google Scholar 

  44. Raihana A, Sudha R (2016) AFDGA: defect detection and classification of apple fruit images using the modified watershed segmentation method. Int J Sci Technol Eng 3(6):75–85

    Google Scholar 

  45. Rennick G, Attikiouzel Y, Zaknich A (1999) Machine grading and blemish detection in apples. Int Symp Signal Proces Appl 567(570)

  46. Seng WC, Mirisaee SH (2009) A new method for fruits recognition system. Int Conf Electr Eng Inf 130–134

  47. Singh S, Singh NP (2019) Machine learning based classification of good and rotten apple. Recent Trends Commun Comput Electr 377–386

  48. Suresha M, Shilp NA, Sommy B (2012) Apples grading based on SVM Classifier. Int J Comput Appl 0975–8878.

  49. Unay and Gosselin (2005) Artificial neural network-based segmentation and apple grading by machine vision. Int Conf Image Process

  50. Unay D & Gosselin B (2004) A stem-end/calyx recognition system based on pattern recognition for ‘Jonagold’ Apples, Tech. Rep., TCTS labs., Facult’e Polytechnique de Mons

  51. Unay D, Gosselin B, Kelynan D, Leemans V, Destain M, Debeir O (2011) Automatic grading of bi-colored apples by multispectral machine vision. Comput Electron Agric 75:204–212

    Google Scholar 

  52. Vani A, Vinod DS (2014) Automatic quality evaluation of fruits using probabilistic neural network approach. Int Conf Contemp Comput Inf (IC3I) 308-31

  53. Vijayarekha K (2008) Multivariate image analysis for defect identification of apple fruit image. Annu Conf IEEE Ind Electron 1499–1503

  54. Wang J, Zhao D, Ji W (2009) Application of support vector machine to apple recognition using in apple harvesting robot. IEEE Int Conf Inf Autom

  55. Wu Y, He F, Zhang D, Li X (2018) Service-oriented feature-based data exchange for cloud-based design and manufacturing. IEEE Trans Serv Comput 11(2):341–353

    Google Scholar 

  56. Xiabo Z, Jie-Wen Z, Youxiao L, Holmes M (2010) Inline detection of apple defects using three color cameras system. Comput Electron Agric 70:129–134

    Google Scholar 

  57. Xiaobo Z, Jiewen Z (2005) Apple quality assessment by fusion three sensors. Sensors IEEE 389–392

  58. Xiaobo Z, Jiewen Z, Yanxiao L (2007) Apple color grading based on organization feature parameters. Pattern Recogn Lett 28:2046–2053

    Google Scholar 

  59. Xing J, Bravo C, Jancsok PT, Ramon H, Baerdemacker JD (2005) Detecting bruises on Golden delicious apples using hyperspectral imaging with multiple wavebands. Biosyst Eng 90(1):27–36

    Google Scholar 

  60. Yang Q (1995) Automatic detection of patch-like defects on apples. Image Process Its Appl 529.533

  61. Yu H, He F, Pan Y (2019) A novel segmentation model for medical images with intensity inhomogeneity based on adaptive perturbation. Multimed Tools Appl 78(9):11779–11798

    Google Scholar 

  62. Zhang S, He F, Ren W, Yao J (2018) Joint learning of image detail and transmission map for single image dehazing. Vis Comput 36:305–316. https://doi.org/10.1007/s00371-018-1612-9

    Article  Google Scholar 

  63. Zhao JX, Liu JJ, Fan DP, Cao Y, Yang JF, Cheng MM (2019) EGNet: Edge Guidance Network for Salient Object Detection. IEEE Int Conf Comput Vis (ICCV) 1–10

  64. Zhou J, Yin H, Liu J, Fan L (2012) Method of image fusion for apple surface quality detection. Int Conf Autom Control Artif Intell

  65. Zhu B, Jiang L (2007) Gabor feature-based apple quality inspection using kernel principal component analysis. Elsevier

Download references

Funding

This research did not receive any specific grant from funding agencies in the public, commercial or not-for profit sectors.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Anuja Bhargava.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

Ethical approval

This article does not contain any studies with human participants performed by any of the authors.

Informed consent

Not applicable.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Bhargava, A., Bansal, A. Machine learning based quality evaluation of mono-colored apples. Multimed Tools Appl 79, 22989–23006 (2020). https://doi.org/10.1007/s11042-020-09036-9

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-020-09036-9

Keywords

Navigation