Identification of green pepper (Zanthoxylum armatum) impurities based on visual attention mechanism fused algorithm

IF 4 2区 农林科学 Q2 CHEMISTRY, APPLIED
Jian Zhang , Jiajia Tan , Chen Ma , Pengxin Wu , Yujiang Gou , Qi Niu , Weihai Xia , Guanping Huo , Ting An
{"title":"Identification of green pepper (Zanthoxylum armatum) impurities based on visual attention mechanism fused algorithm","authors":"Jian Zhang ,&nbsp;Jiajia Tan ,&nbsp;Chen Ma ,&nbsp;Pengxin Wu ,&nbsp;Yujiang Gou ,&nbsp;Qi Niu ,&nbsp;Weihai Xia ,&nbsp;Guanping Huo ,&nbsp;Ting An","doi":"10.1016/j.jfca.2025.107445","DOIUrl":null,"url":null,"abstract":"<div><div>Hitherto, assessing the quality of green pepper via identification of impurities has, generally, been done manually. However, manual identification is commonly time and labor intensive. This investigation, thus, taking detection accuracy and reasoning speed on testing dataset as indicators, to explore an appropriate Convolutional Neural Network (CNN) for the detection of green pepper impurities. In terms of detection accuracy, the YOLOv5m outperformed representative target detection algorithms, composed of Faster R-CNN, Grid R-CNN, RetinaNet. Accordingly, the YOLOv5m was further, modified, via the usage of a Similarity-based Attention Mechanism (SimAM) module, to achieve better performance. Fortunately, to compare with YOLOv5m, the average precision (AP) and F1 score for all classes, YOLOv5m-SimAM fused algorithm achieved better results. Furthermore, under the situation of generally same model, parameters, and FLOPs sizes, the inference time of YOLOv5m-SimAM was, unbelievably, 50 % less than that of YOLOv5m. Corporately, both the detection accuracy and reasoning speed of YOLOv5m-SimAM were better than YOLOv5m, especially in reducing inference time. In practice, this case study may mark a critical step forward towards the detection of green pepper impurities to evaluate its quality, from theoretical to application.</div></div>","PeriodicalId":15867,"journal":{"name":"Journal of Food Composition and Analysis","volume":"142 ","pages":"Article 107445"},"PeriodicalIF":4.0000,"publicationDate":"2025-03-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Food Composition and Analysis","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0889157525002601","RegionNum":2,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"CHEMISTRY, APPLIED","Score":null,"Total":0}
引用次数: 0

Abstract

Hitherto, assessing the quality of green pepper via identification of impurities has, generally, been done manually. However, manual identification is commonly time and labor intensive. This investigation, thus, taking detection accuracy and reasoning speed on testing dataset as indicators, to explore an appropriate Convolutional Neural Network (CNN) for the detection of green pepper impurities. In terms of detection accuracy, the YOLOv5m outperformed representative target detection algorithms, composed of Faster R-CNN, Grid R-CNN, RetinaNet. Accordingly, the YOLOv5m was further, modified, via the usage of a Similarity-based Attention Mechanism (SimAM) module, to achieve better performance. Fortunately, to compare with YOLOv5m, the average precision (AP) and F1 score for all classes, YOLOv5m-SimAM fused algorithm achieved better results. Furthermore, under the situation of generally same model, parameters, and FLOPs sizes, the inference time of YOLOv5m-SimAM was, unbelievably, 50 % less than that of YOLOv5m. Corporately, both the detection accuracy and reasoning speed of YOLOv5m-SimAM were better than YOLOv5m, especially in reducing inference time. In practice, this case study may mark a critical step forward towards the detection of green pepper impurities to evaluate its quality, from theoretical to application.
求助全文
约1分钟内获得全文 求助全文
来源期刊
Journal of Food Composition and Analysis
Journal of Food Composition and Analysis 工程技术-食品科技
CiteScore
6.20
自引率
11.60%
发文量
601
审稿时长
53 days
期刊介绍: The Journal of Food Composition and Analysis publishes manuscripts on scientific aspects of data on the chemical composition of human foods, with particular emphasis on actual data on composition of foods; analytical methods; studies on the manipulation, storage, distribution and use of food composition data; and studies on the statistics, use and distribution of such data and data systems. The Journal''s basis is nutrient composition, with increasing emphasis on bioactive non-nutrient and anti-nutrient components. Papers must provide sufficient description of the food samples, analytical methods, quality control procedures and statistical treatments of the data to permit the end users of the food composition data to evaluate the appropriateness of such data in their projects. The Journal does not publish papers on: microbiological compounds; sensory quality; aromatics/volatiles in food and wine; essential oils; organoleptic characteristics of food; physical properties; or clinical papers and pharmacology-related papers.
×
引用
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学术官方微信