Automated peanut defect detection using hyperspectral imaging and deep learning: A real-time approach for smart agriculture

IF 6.3 Q1 AGRICULTURAL ENGINEERING
Shih-Yu Chen , Yu-Cheng Wu , Yung-Ming Kuo , Rui-Hong Zhang , Tsai-Yi Cheng , Yu-Chien Chen , Po-Yu Chu , Li-Wei Kang , Chinsu Lin
{"title":"Automated peanut defect detection using hyperspectral imaging and deep learning: A real-time approach for smart agriculture","authors":"Shih-Yu Chen ,&nbsp;Yu-Cheng Wu ,&nbsp;Yung-Ming Kuo ,&nbsp;Rui-Hong Zhang ,&nbsp;Tsai-Yi Cheng ,&nbsp;Yu-Chien Chen ,&nbsp;Po-Yu Chu ,&nbsp;Li-Wei Kang ,&nbsp;Chinsu Lin","doi":"10.1016/j.atech.2025.100943","DOIUrl":null,"url":null,"abstract":"<div><div>Manual visual inspection remains the prevailing approach for peanut quality classification; however, it is labor-intensive, prone to fatigue-induced errors, and often results in inconsistent outcomes. Peanut defects are typically categorized into four classes: healthy, underdeveloped, insect-damaged, and ruptured. This paper proposes an automated classification framework that integrates push-broom and snapshot hyperspectral imaging techniques with deep learning models for accurate and efficient peanut defect detection. A push-broom hyperspectral imaging system was employed to acquire a dataset of 1557 peanut samples, divided into a training set (477 samples: 237 healthy, 240 defective) and a test set (1080 samples). Spectral band selection was applied to reduce data dimensionality, followed by the development and evaluation of 1D, 2D, and 3D Convolutional Neural Network (CNN) models. Among them, the 3D-CNN architecture achieved the highest classification accuracy of 98 %. In addition, the snapshot imaging system enabled the construction of a lightweight CNN model for real-time defect detection. Principal Component Analysis (PCA) was utilized to identify five informative spectral bands, enabling efficient classification with an overall accuracy of 98.5 % and a Kappa coefficient of 97.3 %. The novelty of this study lies in the dual integration of push-broom and snapshot hyperspectral imaging with hybrid CNN architectures, enabling both high-accuracy offline analysis and lightweight real-time detection. The combination of spectral dimensionality reduction and attention-based modeling presents a scalable and computationally efficient solution for quality assessment. These findings represent a significant advancement in automated peanut grading, offering a robust, cost-effective, and scalable approach for deployment in smart agriculture and automated food quality control systems.</div></div>","PeriodicalId":74813,"journal":{"name":"Smart agricultural technology","volume":"11 ","pages":"Article 100943"},"PeriodicalIF":6.3000,"publicationDate":"2025-04-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Smart agricultural technology","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2772375525001765","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURAL ENGINEERING","Score":null,"Total":0}
引用次数: 0

Abstract

Manual visual inspection remains the prevailing approach for peanut quality classification; however, it is labor-intensive, prone to fatigue-induced errors, and often results in inconsistent outcomes. Peanut defects are typically categorized into four classes: healthy, underdeveloped, insect-damaged, and ruptured. This paper proposes an automated classification framework that integrates push-broom and snapshot hyperspectral imaging techniques with deep learning models for accurate and efficient peanut defect detection. A push-broom hyperspectral imaging system was employed to acquire a dataset of 1557 peanut samples, divided into a training set (477 samples: 237 healthy, 240 defective) and a test set (1080 samples). Spectral band selection was applied to reduce data dimensionality, followed by the development and evaluation of 1D, 2D, and 3D Convolutional Neural Network (CNN) models. Among them, the 3D-CNN architecture achieved the highest classification accuracy of 98 %. In addition, the snapshot imaging system enabled the construction of a lightweight CNN model for real-time defect detection. Principal Component Analysis (PCA) was utilized to identify five informative spectral bands, enabling efficient classification with an overall accuracy of 98.5 % and a Kappa coefficient of 97.3 %. The novelty of this study lies in the dual integration of push-broom and snapshot hyperspectral imaging with hybrid CNN architectures, enabling both high-accuracy offline analysis and lightweight real-time detection. The combination of spectral dimensionality reduction and attention-based modeling presents a scalable and computationally efficient solution for quality assessment. These findings represent a significant advancement in automated peanut grading, offering a robust, cost-effective, and scalable approach for deployment in smart agriculture and automated food quality control systems.
使用高光谱成像和深度学习的花生缺陷自动检测:智能农业的实时方法
人工目测仍然是花生质量分类的主要方法;然而,它是劳动密集型的,容易出现疲劳引起的错误,并且经常导致不一致的结果。花生缺陷通常分为四类:健康、发育不全、昆虫损伤和破裂。本文提出了一种将推扫帚和快照高光谱成像技术与深度学习模型相结合的自动分类框架,用于准确高效的花生缺陷检测。采用推扫帚式高光谱成像系统获取1557个花生样本数据集,分为训练集(477个样本,237个健康样本,240个缺陷样本)和测试集(1080个样本)。利用光谱波段选择来降低数据维数,然后开发和评估1D、2D和3D卷积神经网络(CNN)模型。其中,3D-CNN架构的分类准确率最高,达到98%。此外,快照成像系统可以构建轻量级的CNN模型,用于实时缺陷检测。利用主成分分析(PCA)识别5个信息光谱波段,实现有效分类,总体准确率为98.5%,Kappa系数为97.3%。本研究的新颖之处在于将推扫帚和快照高光谱成像与混合CNN架构双重集成,实现了高精度的离线分析和轻量级的实时检测。光谱降维和基于注意力的建模相结合,为质量评估提供了一种可扩展且计算效率高的解决方案。这些发现代表了花生自动分级的重大进展,为智能农业和自动化食品质量控制系统的部署提供了一种强大、经济、可扩展的方法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
4.20
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信