A Recognition and Classification of Fruit Images Using Texture Feature Extraction and Machine Learning Algorithms
DOI:
https://doi.org/10.25007/ajnu.v13n1a1514Abstract
Fruits classification is demanded in some fields, such as industrial agriculture. Automatic fruit classification from their digital image plays a vital role in those fields. The classification encounters several challenges due to capturing fruits’ images from different viewing angle, rotation, and illumination pose. In this paper a framework for recognition and classification of fruits from their images have been proposed depending on texture features, the proposed system rely on three phases; firstly, pre-processing, as images need to be resized, filtered, color convert, and threshold in order to create a fruit mask which is used for fruit’s region of interest segmentation; followed by two methods for texture features extraction, first method utilize Local Binary Pattern (LBP), while the second method uses Principal Component Analysis (PCA) to generate features vector for each fruit image. Classification is the last phase; two supervised machine learning algorithms; K-Nearest Neighbor (K-NN) and Support Vector Machine (SVM) are utilized to identity and recognize the fruits images classes. Both methods are tested using 1200 fruits images, from 12 classes acquired from Fruits-360 database. The results show that combining LBP with K-NN, and SVM yields the best accuracy up to 100% and 89.44% respectively, while the accuracy of applying PCA with K-NN and SVM reached to 86.38 % and 85.83% respectively.
Downloads
References
Abdi, H., & Williams, L. J. (2010). Principal component analysis. Wiley interdisciplinary reviews: computational statistics, 2(4), 433-459.
Ahonen, T., Hadid, A., & Pietikäinen, M. (2004). Face recognition with local binary patterns. Paper presented at the European conference on computer vision.
Al-falluji, R. A. A. (2016). Color, shape and texture based fruit recognition system. International Journal of Advanced Research in Computer Engineering & Technology (IJARCET), 5(7).
Anraeni, S., Indra, D., Adirahmadi, D., & Pomalingo, S. (2021). Strawberry Ripeness Identification Using Feature Extraction of RGB and K-Nearest Neighbor. Paper presented at the 2021 3rd East Indonesia Conference on Computer and Information Technology (EIConCIT).
Behera, S. K., Rath, A. K., Mahapatra, A., & Sethy, P. K. (2020). Identification, classification & grading of fruits using machine learning & computer intelligence: a review. Journal of Ambient Intelligence and Humanized Computing, 1-11.
Bhargava, A., & Bansal, A. (2021). Fruits and vegetables quality evaluation using computer vision: A review. Journal of King Saud University-Computer and Information Sciences, 33(3), 243-257.
Ghazal, S., Qureshi, W. S., Khan, U. S., Iqbal, J., Rashid, N., & Tiwana, M. I. (2021). Analysis of visual features and classifiers for Fruit classification problem. Computers and Electronics in Agriculture, 187, 106267.
Gill, H. S., & Khehra, B. S. (2021). Hybrid classifier model for fruit classification. Multimedia Tools and Applications, 80(18), 27495-27530.
Indriani, O. R., Kusuma, E. J., Sari, C. A., & Rachmawanto, E. H. (2017). Tomatoes classification using K-NN based on GLCM and HSV color space. Paper presented at the 2017 international conference on innovative and creative information technology (ICITech).
Jana, S., & Parekh, R. (2017). Shape-based fruit recognition and classification. Paper presented at the International Conference on Computational Intelligence, Communications, and Business Analytics.
Kaur, R., & Himanshi, E. (2015). Face recognition using principal component analysis. Paper presented at the 2015 IEEE international advance computing conference (IACC).
Nosseir, A., & Ahmed, S. E. A. (2018). Automatic identification and classifications for fruits using k-NN. Paper presented at the Proceedings of the 7th International Conference on Software and Information Engineering.
Ojala, T., Pietikäinen, M., & Harwood, D. (1996). A comparative study of texture measures with classification based on featured distributions. Pattern recognition, 29(1), 51-59.
Oltean, M. (2018). Fruits 360 dataset on kaggle. Retrieved from https://www.kaggle.com/moltean/fruits.
Otsu, N. (1979). A threshold selection method from gray-level histograms. IEEE transactions on systems, man, and cybernetics, 9(1), 62-66.
Rajasekar, L., & Sharmila, D. (2019). Performance analysis of soft computing techniques for the automatic classification of fruits dataset. Soft Computing, 23(8), 2773-2788.
San, M., Aung, M. M., & Khaing, P. P. (2019). Fruit Recognition Using Color and Morphological Features Fusion. International Journal of Image, Graphics and Signal Processing, 10(10), 8.
Saranya, N., Srinivasan, K., Pravin Kumar, S., Rukkumani, V., & Ramya, R. (2019). Fruit classification using traditional machine learning and deep learning approach. Paper presented at the International Conference on Computational Vision and Bio Inspired Computing.
Shukla, D., & Desai, A. (2016). Recognition of fruits using hybrid features and machine learning. Paper presented at the 2016 International Conference on Computing, Analytics and Security Trends (CAST).
Taunk, K., De, S., Verma, S., & Swetapadma, A. (2019). A brief review of nearest neighbor algorithm for learning and classification. Paper presented at the 2019 International Conference on Intelligent Computing and Control Systems (ICCS).
Wang, Z., & Xue, X. (2014). Multi-class support vector machine Support vector machines applications (pp. 23-48): Springer.
Zebari, R., Abdulazeez, A., Zeebaree, D., Zebari, D., & Saeed, J. (2020). A comprehensive review of dimensionality reduction techniques for feature selection and feature extraction. Journal of Applied Science and Technology Trends, 1(2), 56-70.
Zeeshan, M., Prabhu, A., Arun, C., & Rani, N. S. (2020). Fruit Classification System Using Multiclass Support Vector Machine Classifier. Paper presented at the 2020 International Conference on Electronics and Sustainable Communication Systems (ICESC).
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2024 Academic Journal of Nawroz University
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Authors retain copyright
The use of a Creative Commons License enables authors/editors to retain copyright to their work. Publications can be reused and redistributed as long as the original author is correctly attributed.
- Copyright
- The researcher(s), whether a single or joint research paper, must sell and transfer to the publisher (the Academic Journal of Nawroz University) through all the duration of the publication which starts from the date of entering this Agreement into force, the exclusive rights of the research paper/article. These rights include the translation, reuse of papers/articles, transmit or distribute, or use the material or parts(s) contained therein to be published in scientific, academic, technical, professional journals or any other periodicals including any other works derived from them, all over the world, in English and Arabic, whether in print or in electronic edition of such journals and periodicals in all types of media or formats now or that may exist in the future. Rights also include giving license (or granting permission) to a third party to use the materials and any other works derived from them and publish them in such journals and periodicals all over the world. Transfer right under this Agreement includes the right to modify such materials to be used with computer systems and software, or to reproduce or publish it in e-formats and also to incorporate them into retrieval systems.
- Reproduction, reference, transmission, distribution or any other use of the content, or any parts of the subjects included in that content in any manner permitted by this Agreement, must be accompanied by mentioning the source which is (the Academic Journal of Nawroz University) and the publisher in addition to the title of the article, the name of the author (or co-authors), journal’s name, volume or issue, publisher's copyright, and publication year.
- The Academic Journal of Nawroz University reserves all rights to publish research papers/articles issued under a “Creative Commons License (CC BY-NC-ND 4.0) which permits unrestricted use, distribution, and reproduction of the paper/article by any means, provided that the original work is correctly cited.
- Reservation of Rights
The researcher(s) preserves all intellectual property rights (except for the one transferred to the publisher under this Agreement).
- Researcher’s guarantee
The researcher(s) hereby guarantees that the content of the paper/article is original. It has been submitted only to the Academic Journal of Nawroz University and has not been previously published by any other party.
In the event that the paper/article is written jointly with other researchers, the researcher guarantees that he/she has informed the other co-authors about the terms of this agreement, as well as obtaining their signature or written permission to sign on their behalf.
The author further guarantees:
- The research paper/article does not contain any defamatory statements or illegal comments.
- The research paper/article does not violate other's rights (including but not limited to copyright, patent, and trademark rights).
This research paper/article does not contain any facts or instructions that could cause damages or harm to others, and publishing it does not lead to disclosure of any confidential information.