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.

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

Vitale, Andrea;Giaccone, Matteo;de Benedetta, Flavia;Gargiulo, Laura
;
Mele, Giacomo;
2025

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.
2025
Istituto per i Sistemi Agricoli e Forestali del Mediterraneo - ISAFOM
Istituto per la Protezione Sostenibile delle Piante - IPSP
Convolutional neural network
Corylus avellana
Dry fruit
Machine learning
Sorting
Transfer learning
File in questo prodotto:
File Dimensione Formato  
1-s2.0-S2666154325004430-main.pdf

accesso aperto

Descrizione: Cimiciato defect detection in hazelnuts: CNN models applied on X-ray images
Tipologia: Versione Editoriale (PDF)
Licenza: Creative commons
Dimensione 3.13 MB
Formato Adobe PDF
3.13 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.14243/547573
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact