Cimiciato defect detection in hazelnuts: CNN models applied on X-ray images

Hazelnuts are a significant crop with an increasing importance, especially for confectionery industry. Insect damages affect hazelnut quality, requiring post-harvest selection based on industrial quality standards which often exceed official regulations. Currently used methods for identifying insect damages (cimiciato) often rely on visual inspection, external imaging or require destructive testing. This study compared twelve different pretrained Convolutional Neural Network (CNN) architectures applied on hazelnut kernels X-ray radiographs for the automated detection of cimiciato defects. Through an extensive training and validation process, followed by testing on a separate dataset, InceptionV3 architecture showed the best overall balance across all performance metrics, including accuracy, sensitivity, and precision, while Xception demonstrated superior specificity and the lowest false positive rate. Lightweight models such as SqueezeNet and ShuffleNet provided fast and resource-efficient training, though with moderate trade-offs in classification accuracy. In contrast, deeper architectures like Inception-ResNet-V2 and Xception, while computationally demanding, achieved greater robustness and generalization capability. Our findings suggest that some CNN architectures combined with X-ray imaging could effectively be employed in a reliable and efficient non-destructive selection method for the hazelnut industry, potentially improving product quality control and minimizing losses associated with insect damages. • X-ray imaging of hazelnut kernels allows to visualize all insect damages • Pretrained CNNs applied to X-ray images allows to classify healthy VS damaged hazelnuts • InceptionV3 and Xception were the most performing CNN architectures • CNN with X-ray imaging is a promising approach for non-destructive sorting of hazelnuts

Authors

Institutions

Publication Details

Journal
Journal of Agriculture and Food Research
Published
2025-06-03
DOI
https://doi.org/10.1016/j.jafr.2025.102072
Primary Topic
Nuts composition and effects
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Cimiciato defect detection in hazelnuts: CNN models applied on X-ray images

Andrea Vitale, Assunta Napolitano, Flavia de Benedetta, Giacomo Mele et al.
Journal of Agriculture and Food Research
Nuts composition and effects
article

Cimiciato defect detection in hazelnuts: CNN models applied on X-ray images

Andrea Vitale, Assunta Napolitano, Flavia de Benedetta, Giacomo Mele, Matteo Giaccone, Laura Gargiulo
article en

Abstract

Hazelnuts are a significant crop with an increasing importance, especially for confectionery industry. Insect damages affect hazelnut quality, requiring post-harvest selection based on industrial quality standards which often exceed official regulations. Currently used methods for identifying insect damages (cimiciato) often rely on visual inspection, external imaging or require destructive testing. This study compared twelve different pretrained Convolutional Neural Network (CNN) architectures applied on hazelnut kernels X-ray radiographs for the automated detection of cimiciato defects. Through an extensive training and validation process, followed by testing on a separate dataset, InceptionV3 architecture showed the best overall balance across all performance metrics, including accuracy, sensitivity, and precision, while Xception demonstrated superior specificity and the lowest false positive rate. Lightweight models such as SqueezeNet and ShuffleNet provided fast and resource-efficient training, though with moderate trade-offs in classification accuracy. In contrast, deeper architectures like Inception-ResNet-V2 and Xception, while computationally demanding, achieved greater robustness and generalization capability. Our findings suggest that some CNN architectures combined with X-ray imaging could effectively be employed in a reliable and efficient non-destructive selection method for the hazelnut industry, potentially improving product quality control and minimizing losses associated with insect damages. • X-ray imaging of hazelnut kernels allows to visualize all insect damages • Pretrained CNNs applied to X-ray images allows to classify healthy VS damaged hazelnuts • InceptionV3 and Xception were the most performing CNN architectures • CNN with X-ray imaging is a promising approach for non-destructive sorting of hazelnuts

Journal of Agriculture and Food ResearchVol. 22
Fermi National Accelerator Laboratory (US), Institute for Sustainable Plant Protection (IT), Istituto per il Sistema Produzione Animale in Ambiente Mediterraneo (IT)
Zero hunger
Openalex Percentile: Top 85%
Nuts composition and effects
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.