Author
Listed:
- Dekai Qiu
(College of Optical, Mechanical and Electrical Engineering, Zhejiang A&F University, Hangzhou 311300, China
These authors contributed equally to this work.)
- Tianhao Guo
(College of Optical, Mechanical and Electrical Engineering, Zhejiang A&F University, Hangzhou 311300, China
These authors contributed equally to this work.)
- Shengqi Yu
(College of Optical, Mechanical and Electrical Engineering, Zhejiang A&F University, Hangzhou 311300, China)
- Wei Liu
(College of Optical, Mechanical and Electrical Engineering, Zhejiang A&F University, Hangzhou 311300, China)
- Lin Li
(School of Agricultural Engineering, Jiangsu University, Zhenjiang 212013, China
Key Laboratory of Modern Agricultural Equipment and Technology, Jiangsu University, Ministry of Education, Zhenjiang 212013, China)
- Zhizhong Sun
(College of Chemistry and Materials Engineering, Zhejiang A&F University, Hangzhou 311300, China
College of Biosystems Engineering and Food Science, Zhejiang University, Hangzhou 310058, China)
- Hehuan Peng
(College of Optical, Mechanical and Electrical Engineering, Zhejiang A&F University, Hangzhou 311300, China)
- Dong Hu
(College of Optical, Mechanical and Electrical Engineering, Zhejiang A&F University, Hangzhou 311300, China
School of Agricultural Engineering, Jiangsu University, Zhenjiang 212013, China
Key Laboratory of Modern Agricultural Equipment and Technology, Jiangsu University, Ministry of Education, Zhenjiang 212013, China)
Abstract
Accurately classifying the quality of apples is crucial for maximizing their commercial value. Deep learning techniques are being widely adopted for apple quality classification tasks, achieving impressive results. While existing research excels at classifying apple variety, size, shape, and defects, color and deformity analysis remain an under-explored area. Therefore, this study investigates the feasibility of utilizing convolutional neural networks (CNN) to classify the color and deformity of apples based on machine vision technology. Firstly, a custom-assembled machine vision system was constructed for collecting apple images. Then, image processing was performed to extract the largest fruit diameter from the 45 images taken for each apple, establishing an image dataset. Three classic CNN models (AlexNet, GoogLeNet, and VGG16) were employed with parameter optimization for a three-category classification task (non-deformed slice–red apple, non-deformed stripe–red apple, and deformed apple) based on apple features. VGG16 achieved the best results with an accuracy of 92.29%. AlexNet and GoogLeNet achieved 91.66% and 88.96% accuracy, respectively. Ablation experiments were performed on the VGG16 model, which found that each convolutional block contributed to the classification task. Finally, prediction using VGG16 was conducted with 150 apples and the prediction accuracy was 90.50%, which was comparable to or better than other existing models. This study provides insights into apple classification based on color and deformity using deep learning methods.
Suggested Citation
Dekai Qiu & Tianhao Guo & Shengqi Yu & Wei Liu & Lin Li & Zhizhong Sun & Hehuan Peng & Dong Hu, 2024.
"Classification of Apple Color and Deformity Using Machine Vision Combined with CNN,"
Agriculture, MDPI, vol. 14(7), pages 1-14, June.
Handle:
RePEc:gam:jagris:v:14:y:2024:i:7:p:978-:d:1420607
Download full text from publisher
Corrections
All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jagris:v:14:y:2024:i:7:p:978-:d:1420607. See general information about how to correct material in RePEc.
If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.
We have no bibliographic references for this item. You can help adding them by using this form .
If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.