arrow
Return

Automatic Fruit Grading System with High Adaptability Using Machine Learning Method

delete2025-11-07
delete0
PRE
AI
P
P. Zhang
李
李秀红 (Xiuhong Li) *
DOI:10.3390/app152211866delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Fruit quality plays an important role in the agricultural economy. However, low efficiency and inaccurate detection in manual fruit grading has led to reduced fruit quality assurance. To solve these problems, an automatic fruit grading system for several kinds of fruits based on ML is proposed. In this research, four kinds of fruit are rapidly divided into three grades, depending on this automatic fruit grading system, through three steps. Firstly, the features with a large impact on fruit grading are extracted from fruit-the texture, shape, color, size, and defects. Then, the extracted fruit features are input into a Random Forest algorithm to train the fruit grading model. Finally, the grades of four kinds of fruit are predicted by this fruit grading model. The dataset contained 666 images from Kaggle of purchased fruit, including 270 images of apples, 170 images of pomegranates, 114 images of oranges, and 112 images of loquats. A 70% training set and 30% testing set split was used, and a ten-fold cross-validation (ten-fold CV) strategy was employed to evaluate the model. The experimental results show that the RF algorithm demonstrates the best stability and accuracy in classifying the four types of fruit, with accuracies of 98.6%, 95.3%, 98.1%, and 99.1% for apples, loquats, pomegranates, and oranges, respectively. Compared with other ML methods, RF performed the best in the multi-fruit classification task.
Keywords:
fruit grading system
feature extraction
machine learning
random forest
adaptability

Journal

A
Applied Sciences-Basel
IF:
2.5
Papers:
7.6K
Citations:
4

Organization

H
hubei university of technology
Scholars:
2.9K
Papers: 872
Citations: 0
Cited Papers

Cited Papers

Comparison of Machine-Learning and CASA Models for Predicting Apple Fruit Yields from Time-Series Planet Imageries
err2021-08-05
err0
errOAAI
errXueyuan Bai; Zhenhai Li; Wei Li; Yu Zhao; Meixuan Li; Hongyan Chen; Shaochong Wei; Yuanmao Jiang; Guijun Yang; Xicun Zhu
errShare
errSave
A Deep Learning-Based Model for Date Fruit Classification
err2022-05-23
err63
errOAAI
errAlbarrak, Khalied; Gulzar, Yonis; Hamid, Yasir; Mehmood, Abid; Soomro, Arjumand Bano
errShare
errSave
errShare
errSave
Fruit grading system by reconstructed 3D hyperspectral full-surface images
err2024-06-01
err3
PREAI
errSong, Jia-Yong; Qin, Ze-Sheng; Xue, Chang-Wen; Bian, Li-Feng; Yang, Chen
errShare
errSave
VGG16 Transfer Learning Architecture for Salak Fruit Quality Classification
err2021-03-16
err0
errOAAI
errRismiyati Rismiyati; Ardytha Luthfiarta
errShare
errSave
errShare
errSave
researcher View more