Automatic classification of walnut (Juglans Regia L.) species using deep learning methods

Abstract Walnut is an agricultural product with high economic value on a global scale. Walnut species classification is essential for research, conservation, and quality control, yet traditional methods rely heavily on manual identification, which is a time-consuming procedure and subject to human mistakes. With technological developments in the agricultural sector, making use of deep learning algorithms in the classification of products such as fruits, vegetables and grains were becoming increasingly widespread. In this study, it is aimed to automatically classify walnut species using pre-trained deep learning models. Thus, it is aimed at reducing the loss of time, workload and error rates in sorting processes. For this purpose, a dataset consisting of images belonging to Chandler, Kaman1, Fernor, Yalova3 and Maras18 walnut species was created. The dataset consists of 2540 images in total. The images were trained using VGG16, VGG19, ResNet-50, DenseNet-121, and Xception models. The classification was performed using pre-trained deep learning architectures, including VGG16, VGG19, ResNet-50, DenseNet-121, and Xception. Among these models, ResNet-50 delivered the best performance with an accuracy of 97.95% on the original dataset, while the Xception model excelled with 98.54% accuracy when trained with a weighted loss function and 98.27% accuracy with data augmentation. These findings highlight the effectiveness and reliability of ResNet-50 and Xception models for automated walnut species classification. The results underscore the potential of deep learning technologies in improving agricultural practices by offering faster, more accurate, and less labor-intensive alternatives to traditional methods. In comparison, machine learning algorithms such as SVM, RF, and k-NN achieved lower accuracies, with SVM performing best among them at 90.10%. The study provides an important contribution to the use of deep learning technologies in agricultural production processes and suggests solutions that can increase the efficiency of traditional manual methods.

Authors

Institutions

Publication Details

Journal
Journal of Food Measurement & Characterization
Published
2025-06-02
DOI
https://doi.org/10.1007/s11694-025-03380-w
Citations
1
Primary Topic
Nuts composition and effects
Type
article
Field-Weighted Citation Impact
1.12

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automatic classification of walnut (Juglans Regia L.) species using deep learning methods

İlkay Çınar, Nurettin Doğan, Halil Kılıf
1 citations
Journal of Food Measurement & Characterization
Nuts composition and effects
1.12
article

Automatic classification of walnut (Juglans Regia L.) species using deep learning methods

İlkay Çınar, Nurettin Doğan, Halil Kılıf
article en
1 citations

Abstract

Abstract Walnut is an agricultural product with high economic value on a global scale. Walnut species classification is essential for research, conservation, and quality control, yet traditional methods rely heavily on manual identification, which is a time-consuming procedure and subject to human mistakes. With technological developments in the agricultural sector, making use of deep learning algorithms in the classification of products such as fruits, vegetables and grains were becoming increasingly widespread. In this study, it is aimed to automatically classify walnut species using pre-trained deep learning models. Thus, it is aimed at reducing the loss of time, workload and error rates in sorting processes. For this purpose, a dataset consisting of images belonging to Chandler, Kaman1, Fernor, Yalova3 and Maras18 walnut species was created. The dataset consists of 2540 images in total. The images were trained using VGG16, VGG19, ResNet-50, DenseNet-121, and Xception models. The classification was performed using pre-trained deep learning architectures, including VGG16, VGG19, ResNet-50, DenseNet-121, and Xception. Among these models, ResNet-50 delivered the best performance with an accuracy of 97.95% on the original dataset, while the Xception model excelled with 98.54% accuracy when trained with a weighted loss function and 98.27% accuracy with data augmentation. These findings highlight the effectiveness and reliability of ResNet-50 and Xception models for automated walnut species classification. The results underscore the potential of deep learning technologies in improving agricultural practices by offering faster, more accurate, and less labor-intensive alternatives to traditional methods. In comparison, machine learning algorithms such as SVM, RF, and k-NN achieved lower accuracies, with SVM performing best among them at 90.10%. The study provides an important contribution to the use of deep learning technologies in agricultural production processes and suggests solutions that can increase the efficiency of traditional manual methods.

Journal of Food Measurement & CharacterizationVol. 19(8)
Selçuk University (TR)
Türkiye Bilimsel ve Teknolojik Araştırma Kurumu
Openalex Percentile: Top 23%
Nuts composition and effects
1.12
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.