Classification of Fruits Using Computer Vision and a Multiclass Support Vector Machine

Automatic classification of fruits via computer vision is still a complicated task due to the various properties of numerous types of fruits. We propose a novel classification method based on a multi-class kernel support vector machine (kSVM) with the desirable goal of accurate and fast classification of fruits. First, fruit images were acquired by a digital camera, and then the background of each image was removed by a split-and-merge algorithm; Second, the color histogram, texture and shape features of each fruit image were extracted to compose a feature space; Third, principal component analysis (PCA) was used to reduce the dimensions of feature space; Finally, three kinds of multi-class SVMs were constructed, i.e., Winner-Takes-All SVM, Max-Wins-Voting SVM, and Directed Acyclic Graph SVM. Meanwhile, three kinds of kernels were chosen, i.e., linear kernel, Homogeneous Polynomial kernel, and Gaussian Radial Basis kernel; finally, the SVMs were trained using 5-fold stratified cross validation with the reduced feature vectors as input. The experimental results demonstrated that the Max-Wins-Voting SVM with Gaussian Radial Basis kernel achieves the best classification accuracy of 88.2%. For computation time, the Directed Acyclic Graph SVMs performs swiftest.

[1]  A. Baltazar,et al.  Bayesian classification of ripening stages of tomato fruit using acoustic impact and colorimeter sensor data , 2008 .

[2]  Siwalak Pathaveerat,et al.  Classification of longan fruit bruising using visible spectroscopy , 2011 .

[3]  Daoliang Li,et al.  Original paper: Classification of foreign fibers in cotton lint using machine vision and multi-class support vector machine , 2010 .

[4]  Michael Unser,et al.  Texture classification and segmentation using wavelet frames , 1995, IEEE Trans. Image Process..

[5]  Nor Ashidi Mat Isa,et al.  Color image segmentation using histogram thresholding - Fuzzy C-means hybrid approach , 2011, Pattern Recognit..

[6]  Jean A.T. Pennington,et al.  Classification of fruits and vegetables , 2009 .

[7]  Venkat Venkatasubramanian,et al.  Learning patterns in combinatorial protein libraries by Support Vector Machines , 2011, Comput. Chem. Eng..

[8]  Marco S. Reis,et al.  Madeira wine ageing prediction based on different analytical techniques: UV–vis, GC-MS, HPLC-DAD , 2011 .

[9]  Nojun Kwak,et al.  Principal Component Analysis Based on L1-Norm Maximization , 2008, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[10]  Gabriel Taubin,et al.  VeggieVision: a produce recognition system , 1996, Proceedings Third IEEE Workshop on Applications of Computer Vision. WACV'96.

[11]  J. Edward Jackson,et al.  A User's Guide to Principal Components. , 1991 .

[12]  Cory J. Butz,et al.  Rough set based 1-v-1 and 1-v-r approaches to support vector machine multi-classification , 2007, Inf. Sci..

[13]  Nello Cristianini,et al.  Large Margin DAGs for Multiclass Classification , 1999, NIPS.

[14]  Azlan Mohd Zain,et al.  Overview of Support Vector Machine in Modeling Machining Performances , 2011 .

[15]  Holger R. Maier,et al.  Data splitting for artificial neural networks using SOM-based stratified sampling , 2010, Neural Networks.

[16]  Jacques Wainer,et al.  Automatic fruit and vegetable classification from images , 2010 .

[17]  Emmanuel Roux,et al.  Linking clinical measurements and kinematic gait patterns of toe-walking using fuzzy decision trees. , 2007, Gait & posture.

[18]  Rae-Hong Park,et al.  Eyelid and eyelash detection method in the normalized iris image using the parabolic Hough model and Otsu's thresholding method , 2009, Pattern Recognit. Lett..

[19]  Seyed Hadi Mirisaee,et al.  A new method for fruits recognition system , 2009, 2009 International Conference on Electrical Engineering and Informatics.

[20]  Francisco López-Ferreras,et al.  Computational load reduction in decision functions using support vector machines , 2009, Signal Process..

[21]  V. K. Jayaraman,et al.  Regression Models Using Pattern Search Assisted Least Square Support Vector Machines , 2005 .

[22]  Hong Yan,et al.  An adaptive split-and-merge method for binary image contour data compression , 2001, Pattern Recognit. Lett..

[23]  Stan Lipovetsky,et al.  PCA and SVD with nonnegative loadings , 2009, Pattern Recognit..

[24]  Soon Gyu Hong,et al.  Polyphasic classification of Alternaria isolated from hazelnut and walnut fruit in Europe. , 2006, Mycological research.

[25]  J. E. Jackson A User's Guide to Principal Components , 1991 .

[26]  Paul J. Scott,et al.  Algorithms for Morphological Profile Filters and their Comparison , 2012 .

[27]  Amitava Chatterjee,et al.  A hybrid cooperative-comprehensive learning based PSO algorithm for image segmentation using multilevel thresholding , 2008, Expert Syst. Appl..

[28]  Guillaume Damiand,et al.  Split-and-merge algorithms defined on topological maps for 3D image segmentation , 2003, Graph. Model..