HySANet: A hyperspectral attention network for automated tomato defect classification

The detection and classification of tomato defects during cultivation and quality control are still primarily conducted through manual visual inspection. This process is labor-intensive, time-consuming, and susceptible to human error. Fine surface defects, such as hairline cracks, are often missed, leading to inconsistent quality standards and reduced market value. To address these challenges, we propose HySANet (Hyperspectral Attention Network), an automated defect classification framework that integrates hyperspectral imaging (HSI) with deep learning. Hyperspectral images of cherry tomatoes were preprocessed using a support vector machine (SVM) to remove background and specular reflections. Principal component analysis (PCA) was then applied for spectral dimensionality reduction. The processed image cubes were fed into a hybrid 2D–3D convolutional neural network (CNN) enhanced with a Convolutional Block Attention Module (CBAM). This architecture enables efficient extraction of spectral–spatial features for multi-class classification. HySANet categorizes tomatoes into three classes: normal, cracked, and visually unappealing. Experimental evaluation on 810 tomato samples demonstrated that HySANet achieved a classification accuracy of 97.69%, outperforming conventional machine learning and state-of-the-art deep learning methods. These results confirm HySANet’s robustness and practical value as a non-destructive, reliable, and scalable solution for smart agriculture and automated quality inspection.

Authors

Institutions

Publication Details

Journal
Applied Food Research
Published
2025-12-27
DOI
https://doi.org/10.1016/j.afres.2025.101631
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

HySANet: A hyperspectral attention network for automated tomato defect classification

Shih- Yu Chen, Yi-Cheng Chen, Tsu-Te Hao, Jiunn-Feng Su et al.
Applied Food Research
Spectroscopy and Chemometric Analyses
article

HySANet: A hyperspectral attention network for automated tomato defect classification

Shih- Yu Chen, Yi-Cheng Chen, Tsu-Te Hao, Jiunn-Feng Su, Hsiu-Chien Ku, Che-Lun Chuang
article en

Abstract

The detection and classification of tomato defects during cultivation and quality control are still primarily conducted through manual visual inspection. This process is labor-intensive, time-consuming, and susceptible to human error. Fine surface defects, such as hairline cracks, are often missed, leading to inconsistent quality standards and reduced market value. To address these challenges, we propose HySANet (Hyperspectral Attention Network), an automated defect classification framework that integrates hyperspectral imaging (HSI) with deep learning. Hyperspectral images of cherry tomatoes were preprocessed using a support vector machine (SVM) to remove background and specular reflections. Principal component analysis (PCA) was then applied for spectral dimensionality reduction. The processed image cubes were fed into a hybrid 2D–3D convolutional neural network (CNN) enhanced with a Convolutional Block Attention Module (CBAM). This architecture enables efficient extraction of spectral–spatial features for multi-class classification. HySANet categorizes tomatoes into three classes: normal, cracked, and visually unappealing. Experimental evaluation on 810 tomato samples demonstrated that HySANet achieved a classification accuracy of 97.69%, outperforming conventional machine learning and state-of-the-art deep learning methods. These results confirm HySANet’s robustness and practical value as a non-destructive, reliable, and scalable solution for smart agriculture and automated quality inspection.

Applied Food ResearchVol. 6(1)
AU Optronics (Taiwan) (TW), Taiwan Agricultural Research Institute Council of Agriculture, Executive Yuan (TW), Physical Optics Corporation (US), National Yunlin University of Science and Technology (TW)
Zero hunger
Openalex Percentile: Top 41%
Spectroscopy and Chemometric Analyses
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.

HySANet: A hyperspectral attention network for automated tomato defect classification — Shih- Yu Chen, Yi-Cheng Chen, et al. · Applied Food Research (2025) | TGRS Research Map | TGRS