Automatic fruit classification using random forest algorithm

The aim of this paper is to develop an effective classification approach based on Random Forest (RF) algorithm. Three fruits; i.e., apples, Strawberry, and oranges were analysed and several features were extracted based on the fruits' shape, colour characteristics as well as Scale Invariant Feature Transform (SIFT). A preprocessing stages using image processing to prepare the fruit images dataset to reduce their color index is presented. The fruit image features is then extracted. Finally, the fruit classification process is adopted using random forests (RF), which is a recently developed machine learning algorithm. A regular digital camera was used to acquire the images, and all manipulations were performed in a MATLAB environment. Experiments were tested and evaluated using a series of experiments with 178 fruit images. It shows that Random Forest (RF) based algorithm provides better accuracy compared to the other well know machine learning techniques such as K-Nearest Neighborhood (K-NN) and Support Vector Machine (SVM) algorithms. Moreover, the system is capable of automatically recognize the fruit name with a high degree of accuracy.

[1]  Mohamed F. Tolba,et al.  Fundamental matrix estimation: A study of error criteria , 2017, Pattern Recognit. Lett..

[2]  Parag Agarwal,et al.  2D GEOMETRIC SHAPE AND COLORRECOGNITION USINGDIGITAL IMAGE PROCESSING , 2013 .

[3]  R. Badlishah Ahmad,et al.  A Comparison between Using SIFT and SURF for Characteristic Region Based Image Steganography , 2012 .

[4]  Jeremy S. Smith,et al.  An image-processing based algorithm to automatically identify plant disease visual symptoms. , 2009 .

[5]  David G. Lowe,et al.  Object recognition from local scale-invariant features , 1999, Proceedings of the Seventh IEEE International Conference on Computer Vision.

[6]  Belén Gordillo,et al.  Analysis of food appearance properties by computer vision applying ellipsoids to colour data , 2013 .

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

[8]  G LoweDavid,et al.  Distinctive Image Features from Scale-Invariant Keypoints , 2004 .

[9]  Kpalma Kidiyo,et al.  A Survey of Shape Feature Extraction Techniques , 2008 .

[10]  Antonis A. Argyros,et al.  Deformable 2D Shape Matching Based on Shape Contexts and Dynamic Programming , 2009, ISVC.

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

[12]  David G. Lowe,et al.  Local feature view clustering for 3D object recognition , 2001, Proceedings of the 2001 IEEE Computer Society Conference on Computer Vision and Pattern Recognition. CVPR 2001.

[13]  Luo Juan,et al.  A comparison of SIFT, PCA-SIFT and SURF , 2009 .

[14]  B. Juurlink,et al.  Comparison Between Color and Texture Features for Image Retrieval , 2022 .

[15]  Sagar Soman,et al.  Content Based Image Retrieval using Advanced Color and Texture Features , 2012 .

[16]  Václav Snásel,et al.  Random Forests Based Classification for Crops Ripeness Stages , 2014, IBICA.

[17]  Aboul Ella Hassanien,et al.  Multi-class SVM Based Classification Approach for Tomato Ripeness , 2013, IBICA.

[18]  Luc Devroye,et al.  Consistency of Random Forests and Other Averaging Classifiers , 2008, J. Mach. Learn. Res..

[19]  Leo Breiman,et al.  Random Forests , 2001, Machine Learning.

[20]  F. Billmeyer,et al.  Principles of color technology , 1967 .

[21]  P. K. Sinha,et al.  Efficient Learning of Random Forest Classifier using Disjoint Partitioning Approach , 2013 .

[22]  S. Govindarajulu,et al.  A Comparison of SIFT, PCA-SIFT and SURF , 2012 .