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.
Similar content being viewed by others
References
Ali MAH, Thai KW (2017) Automatic fruit grading system. Int Symp Robot Manuf Autom
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
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
Arlimatti S (2012) Window based method for automatic classification of apple fruit. Int J Eng Res Appl 2(4):1010–1013
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
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
Bennedsen BS, Peterson DL, Tabb A (2005) Identifying defects in images of rotating apples. Comput Electron Agric 48:92–102
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
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
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
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
Blasco J, Aleixos N, Molto E (2003) Machine vision system for automatic quality grading of fruit. Biosyst Eng 85(4):415–423
Burges (1998) A tutorial on support vector machines for pattern recognition. Data Min Knowl Disc 2:121–127
Chen X, He F, Yu H (2019) A matting method based on full feature coverage. Multimed Tools Appl 78(9):11173–11201
Cortes C, Vapnik V (1995) Support vector networks. Mach Learn 20:273–297
Dubey SR, Jalal AS (2012) Detection and classification of apple fruit diseases using complete local binary patterns. Int Conf Comput Commun Technol 12012
Dubey SR, Jalal AS (2015) Apple disease classification using color, texture and shape features from images. SIViP 10(5):819–826
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
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
Ghabousian A, Shamsi H (2012) Segmentation of apple color images utilizing fuzzy clustering algorithms. Advances in Digital Multimedia
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
Haralick RM, Shanmugam K, Dinstein I (1973) Textural features for image classification. IEEE Trans Syst Man Cybern 3(6):610–621
Jawale D, Deshmukh M (2017) Real time bruise detection in apple fruits using thermal. Int Conf Commun Signal Process 1080–1085
Kalluri SR, Apple, Orange, Banana Images are retrieved January 15, 2018 from https://www.kaggle.com/sriramr/fruits-fresh-and-rotten-for-classification
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
Kavdir I, Guyer DE (2003) Apple grading using fuzzy logic. Turk J Agric For 27:375–382
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
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
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
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
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
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
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
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
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
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
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
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)
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
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
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
Radojević RL, Petrović DV (2011) Digital parameterization of apple fruit size, shape and surface spottiness. Afr J Agric Res 6(13):3131–3142
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
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
Rennick G, Attikiouzel Y, Zaknich A (1999) Machine grading and blemish detection in apples. Int Symp Signal Proces Appl 567(570)
Seng WC, Mirisaee SH (2009) A new method for fruits recognition system. Int Conf Electr Eng Inf 130–134
Singh S, Singh NP (2019) Machine learning based classification of good and rotten apple. Recent Trends Commun Comput Electr 377–386
Suresha M, Shilp NA, Sommy B (2012) Apples grading based on SVM Classifier. Int J Comput Appl 0975–8878.
Unay and Gosselin (2005) Artificial neural network-based segmentation and apple grading by machine vision. Int Conf Image Process
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
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
Vani A, Vinod DS (2014) Automatic quality evaluation of fruits using probabilistic neural network approach. Int Conf Contemp Comput Inf (IC3I) 308-31
Vijayarekha K (2008) Multivariate image analysis for defect identification of apple fruit image. Annu Conf IEEE Ind Electron 1499–1503
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
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
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
Xiaobo Z, Jiewen Z (2005) Apple quality assessment by fusion three sensors. Sensors IEEE 389–392
Xiaobo Z, Jiewen Z, Yanxiao L (2007) Apple color grading based on organization feature parameters. Pattern Recogn Lett 28:2046–2053
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
Yang Q (1995) Automatic detection of patch-like defects on apples. Image Process Its Appl 529.533
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
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
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
Zhou J, Yin H, Liu J, Fan L (2012) Method of image fusion for apple surface quality detection. Int Conf Autom Control Artif Intell
Zhu B, Jiang L (2007) Gabor feature-based apple quality inspection using kernel principal component analysis. Elsevier
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
Corresponding author
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
About this article
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
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-020-09036-9