基于粗YOLOv11存在滤波、视觉变换和任意分割模型的多模型水果品质评价

Md. Fazlay Rabbi, Al Hasib Mahamud, Md. Redwan Hossen, Md. Jakaria Mahmud, Mustofa Ahmed
{"title":"基于粗YOLOv11存在滤波、视觉变换和任意分割模型的多模型水果品质评价","authors":"Md. Fazlay Rabbi,&nbsp;Al Hasib Mahamud,&nbsp;Md. Redwan Hossen,&nbsp;Md. Jakaria Mahmud,&nbsp;Mustofa Ahmed","doi":"10.1002/ail2.70045","DOIUrl":null,"url":null,"abstract":"<p>Manual inspection of fruit quality is slow and subjective, and it does not scale to high-throughput sorting. This paper presents a multi-model deep learning pipeline for coarse fruit-presence filtering, ripeness classification and pixel-level spoilage segmentation. YOLOv11n is used only as an image-level presence filter and is not claimed to localise fruit; four classifiers (EfficientNetV2-S, ConvNeXt-Base, DeiT-Small and Swin-V2-Tiny) predict one of nine ripeness classes across three fruit types; Grad-CAM heatmaps expose what each classifier attends to; and the Segment Anything Model (SAM ViT-H) generates fine-grained masks evaluated against manually annotated spoilage regions using ground-truth-derived box prompts. The final classification experiment uses a fixed stratified partition of 13,964 training, 2990 validation and 3002 test images. Each classifier is trained for 20 epochs with each of four seeds (42–45). Mean test accuracy <span></span><math>\n <semantics>\n <mrow>\n <mo>±</mo>\n </mrow>\n <annotation>$$ \\pm $$</annotation>\n </semantics></math> sample standard deviation is <span></span><math>\n <semantics>\n <mrow>\n <mn>99.86</mn>\n <mo>%</mo>\n <mo>±</mo>\n <mn>0.03</mn>\n <mo>%</mo>\n </mrow>\n <annotation>$$ 99.86\\%\\pm 0.03\\% $$</annotation>\n </semantics></math> for EfficientNetV2-S, <span></span><math>\n <semantics>\n <mrow>\n <mn>99.84</mn>\n <mo>%</mo>\n <mo>±</mo>\n <mn>0.02</mn>\n <mo>%</mo>\n </mrow>\n <annotation>$$ 99.84\\%\\pm 0.02\\% $$</annotation>\n </semantics></math> for ConvNeXt-Base, <span></span><math>\n <semantics>\n <mrow>\n <mn>99.80</mn>\n <mo>%</mo>\n <mo>±</mo>\n <mn>0.06</mn>\n <mo>%</mo>\n </mrow>\n <annotation>$$ 99.80\\%\\pm 0.06\\% $$</annotation>\n </semantics></math> for DeiT-Small and <span></span><math>\n <semantics>\n <mrow>\n <mn>99.76</mn>\n <mo>%</mo>\n <mspace></mspace>\n <mo>±</mo>\n <mspace></mspace>\n <mn>0.02</mn>\n <mo>%</mo>\n </mrow>\n <annotation>$$ 99.76\\%\\kern0.5em \\pm \\kern0.5em 0.02\\% $$</annotation>\n </semantics></math> for Swin-V2-Tiny. Exact two-sided McNemar tests on paired seed-42 predictions, with Holm correction across six comparisons, find no significant differences at <span></span><math>\n <semantics>\n <mrow>\n <mi>α</mi>\n <mo>=</mo>\n <mn>0.05</mn>\n </mrow>\n <annotation>$$ \\alpha =0.05 $$</annotation>\n </semantics></math> (minimum adjusted <span></span><math>\n <semantics>\n <mrow>\n <mi>p</mi>\n <mo>=</mo>\n <mn>0.3750</mn>\n </mrow>\n <annotation>$$ p=0.3750 $$</annotation>\n </semantics></math>). The mean-accuracy ranking is descriptive, not evidence of statistical superiority. Uncertainty describes training variation on a fixed split. A separate inference-only SAM evaluation on 127 manually annotated rotten-fruit images yields IoU <span></span><math>\n <semantics>\n <mrow>\n <mn>0.790</mn>\n <mo>±</mo>\n <mn>0.172</mn>\n </mrow>\n <annotation>$$ 0.790\\pm 0.172 $$</annotation>\n </semantics></math> and Dice <span></span><math>\n <semantics>\n <mrow>\n <mn>0.870</mn>\n <mo>±</mo>\n <mn>0.136</mn>\n </mrow>\n <annotation>$$ 0.870\\pm 0.136 $$</annotation>\n </semantics></math> (mean <span></span><math>\n <semantics>\n <mrow>\n <mo>±</mo>\n </mrow>\n <annotation>$$ \\pm $$</annotation>\n </semantics></math> SD across images). These results quantify pixel-wise segmentation agreement conditional on correct spatial localisation, not end-to-end automatic spoilage detection. The pipeline runs in real time on controlled, single-fruit webcam inputs; spatial object-detection performance is neither claimed nor evaluated because tight ground-truth bounding boxes are unavailable.</p>","PeriodicalId":72253,"journal":{"name":"Applied AI letters","volume":"8 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2026-10-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1002/ail2.70045","citationCount":"0","resultStr":"{\"title\":\"Multi-Model Fruit Quality Assessment With Coarse YOLOv11 Presence Filtering, Vision Transformers and the Segment Anything Model\",\"authors\":\"Md. Fazlay Rabbi,&nbsp;Al Hasib Mahamud,&nbsp;Md. Redwan Hossen,&nbsp;Md. Jakaria Mahmud,&nbsp;Mustofa Ahmed\",\"doi\":\"10.1002/ail2.70045\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p>Manual inspection of fruit quality is slow and subjective, and it does not scale to high-throughput sorting. This paper presents a multi-model deep learning pipeline for coarse fruit-presence filtering, ripeness classification and pixel-level spoilage segmentation. YOLOv11n is used only as an image-level presence filter and is not claimed to localise fruit; four classifiers (EfficientNetV2-S, ConvNeXt-Base, DeiT-Small and Swin-V2-Tiny) predict one of nine ripeness classes across three fruit types; Grad-CAM heatmaps expose what each classifier attends to; and the Segment Anything Model (SAM ViT-H) generates fine-grained masks evaluated against manually annotated spoilage regions using ground-truth-derived box prompts. The final classification experiment uses a fixed stratified partition of 13,964 training, 2990 validation and 3002 test images. Each classifier is trained for 20 epochs with each of four seeds (42–45). Mean test accuracy <span></span><math>\\n <semantics>\\n <mrow>\\n <mo>±</mo>\\n </mrow>\\n <annotation>$$ \\\\pm $$</annotation>\\n </semantics></math> sample standard deviation is <span></span><math>\\n <semantics>\\n <mrow>\\n <mn>99.86</mn>\\n <mo>%</mo>\\n <mo>±</mo>\\n <mn>0.03</mn>\\n <mo>%</mo>\\n </mrow>\\n <annotation>$$ 99.86\\\\%\\\\pm 0.03\\\\% $$</annotation>\\n </semantics></math> for EfficientNetV2-S, <span></span><math>\\n <semantics>\\n <mrow>\\n <mn>99.84</mn>\\n <mo>%</mo>\\n <mo>±</mo>\\n <mn>0.02</mn>\\n <mo>%</mo>\\n </mrow>\\n <annotation>$$ 99.84\\\\%\\\\pm 0.02\\\\% $$</annotation>\\n </semantics></math> for ConvNeXt-Base, <span></span><math>\\n <semantics>\\n <mrow>\\n <mn>99.80</mn>\\n <mo>%</mo>\\n <mo>±</mo>\\n <mn>0.06</mn>\\n <mo>%</mo>\\n </mrow>\\n <annotation>$$ 99.80\\\\%\\\\pm 0.06\\\\% $$</annotation>\\n </semantics></math> for DeiT-Small and <span></span><math>\\n <semantics>\\n <mrow>\\n <mn>99.76</mn>\\n <mo>%</mo>\\n <mspace></mspace>\\n <mo>±</mo>\\n <mspace></mspace>\\n <mn>0.02</mn>\\n <mo>%</mo>\\n </mrow>\\n <annotation>$$ 99.76\\\\%\\\\kern0.5em \\\\pm \\\\kern0.5em 0.02\\\\% $$</annotation>\\n </semantics></math> for Swin-V2-Tiny. Exact two-sided McNemar tests on paired seed-42 predictions, with Holm correction across six comparisons, find no significant differences at <span></span><math>\\n <semantics>\\n <mrow>\\n <mi>α</mi>\\n <mo>=</mo>\\n <mn>0.05</mn>\\n </mrow>\\n <annotation>$$ \\\\alpha =0.05 $$</annotation>\\n </semantics></math> (minimum adjusted <span></span><math>\\n <semantics>\\n <mrow>\\n <mi>p</mi>\\n <mo>=</mo>\\n <mn>0.3750</mn>\\n </mrow>\\n <annotation>$$ p=0.3750 $$</annotation>\\n </semantics></math>). The mean-accuracy ranking is descriptive, not evidence of statistical superiority. Uncertainty describes training variation on a fixed split. A separate inference-only SAM evaluation on 127 manually annotated rotten-fruit images yields IoU <span></span><math>\\n <semantics>\\n <mrow>\\n <mn>0.790</mn>\\n <mo>±</mo>\\n <mn>0.172</mn>\\n </mrow>\\n <annotation>$$ 0.790\\\\pm 0.172 $$</annotation>\\n </semantics></math> and Dice <span></span><math>\\n <semantics>\\n <mrow>\\n <mn>0.870</mn>\\n <mo>±</mo>\\n <mn>0.136</mn>\\n </mrow>\\n <annotation>$$ 0.870\\\\pm 0.136 $$</annotation>\\n </semantics></math> (mean <span></span><math>\\n <semantics>\\n <mrow>\\n <mo>±</mo>\\n </mrow>\\n <annotation>$$ \\\\pm $$</annotation>\\n </semantics></math> SD across images). These results quantify pixel-wise segmentation agreement conditional on correct spatial localisation, not end-to-end automatic spoilage detection. The pipeline runs in real time on controlled, single-fruit webcam inputs; spatial object-detection performance is neither claimed nor evaluated because tight ground-truth bounding boxes are unavailable.</p>\",\"PeriodicalId\":72253,\"journal\":{\"name\":\"Applied AI letters\",\"volume\":\"8 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2026-10-26\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://onlinelibrary.wiley.com/doi/epdf/10.1002/ail2.70045\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Applied AI letters\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://onlinelibrary.wiley.com/doi/10.1002/ail2.70045\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Applied AI letters","FirstCategoryId":"1085","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/ail2.70045","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

人工检查水果质量是缓慢和主观的,它不适合高通量的分选。提出了一种多模型深度学习管道,用于水果粗存在度过滤、成熟度分类和像素级腐败分割。YOLOv11n仅用作图像级存在过滤器,并没有声称可以定位水果;四个分类器(EfficientNetV2-S、ConvNeXt-Base、DeiT-Small和swwin - v2 - tiny)预测三种水果的九种成熟度等级中的一种;Grad-CAM热图揭示了每个分类器所关注的内容;片段任意模型(SAM vvi - h)生成细粒度掩模,使用基于事实的框提示对手动注释的损坏区域进行评估。最后的分类实验采用固定的分层分割,训练图像13964张,验证图像2990张,测试图像3002张。每个分类器用4个种子(42-45)中的每一个训练20个epoch。平均检测精度±$$ \pm $$样本标准差为99.86 % ± 0.03 % $$ 99.86\%\pm 0.03\% $$ for EfficientNetV2-S, 99.84 % ± 0.02 % $$ 99.84\%\pm 0.02\% $$ for ConvNeXt-Base, 99.80 % ± 0.06 % $$ 99.80\%\pm 0.06\% $$ for DeiT-Small and 99.76 % ± 0.02 % $$ 99.76\%\kern0.5em \pm \kern0.5em 0.02\% $$ for Swin-V2-Tiny. Exact two-sided McNemar tests on paired seed-42 predictions, with Holm correction across six comparisons, find no significant differences at α = 0.05 $$ \alpha =0.05 $$ (minimum adjusted p = 0.3750 $$ p=0.3750 $$ ). The mean-accuracy ranking is descriptive, not evidence of statistical superiority. Uncertainty describes training variation on a fixed split. A separate inference-only SAM evaluation on 127 manually annotated rotten-fruit images yields IoU 0.790 ± 0.172 $$ 0.790\pm 0.172 $$ and Dice 0.870 ± 0.136 $$ 0.870\pm 0.136 $$ (mean  ± $$ \pm $$  SD across images). These results quantify pixel-wise segmentation agreement conditional on correct spatial localisation, not end-to-end automatic spoilage detection. The pipeline runs in real time on controlled, single-fruit webcam inputs; spatial object-detection performance is neither claimed nor evaluated because tight ground-truth bounding boxes are unavailable.
本文章由计算机程序翻译,如有差异,请以英文原文为准。

Multi-Model Fruit Quality Assessment With Coarse YOLOv11 Presence Filtering, Vision Transformers and the Segment Anything Model

Multi-Model Fruit Quality Assessment With Coarse YOLOv11 Presence Filtering, Vision Transformers and the Segment Anything Model

Manual inspection of fruit quality is slow and subjective, and it does not scale to high-throughput sorting. This paper presents a multi-model deep learning pipeline for coarse fruit-presence filtering, ripeness classification and pixel-level spoilage segmentation. YOLOv11n is used only as an image-level presence filter and is not claimed to localise fruit; four classifiers (EfficientNetV2-S, ConvNeXt-Base, DeiT-Small and Swin-V2-Tiny) predict one of nine ripeness classes across three fruit types; Grad-CAM heatmaps expose what each classifier attends to; and the Segment Anything Model (SAM ViT-H) generates fine-grained masks evaluated against manually annotated spoilage regions using ground-truth-derived box prompts. The final classification experiment uses a fixed stratified partition of 13,964 training, 2990 validation and 3002 test images. Each classifier is trained for 20 epochs with each of four seeds (42–45). Mean test accuracy ± $$ \pm $$ sample standard deviation is 99.86 % ± 0.03 % $$ 99.86\%\pm 0.03\% $$ for EfficientNetV2-S, 99.84 % ± 0.02 % $$ 99.84\%\pm 0.02\% $$ for ConvNeXt-Base, 99.80 % ± 0.06 % $$ 99.80\%\pm 0.06\% $$ for DeiT-Small and 99.76 % ± 0.02 % $$ 99.76\%\kern0.5em \pm \kern0.5em 0.02\% $$ for Swin-V2-Tiny. Exact two-sided McNemar tests on paired seed-42 predictions, with Holm correction across six comparisons, find no significant differences at α = 0.05 $$ \alpha =0.05 $$ (minimum adjusted p = 0.3750 $$ p=0.3750 $$ ). The mean-accuracy ranking is descriptive, not evidence of statistical superiority. Uncertainty describes training variation on a fixed split. A separate inference-only SAM evaluation on 127 manually annotated rotten-fruit images yields IoU 0.790 ± 0.172 $$ 0.790\pm 0.172 $$ and Dice 0.870 ± 0.136 $$ 0.870\pm 0.136 $$ (mean  ± $$ \pm $$  SD across images). These results quantify pixel-wise segmentation agreement conditional on correct spatial localisation, not end-to-end automatic spoilage detection. The pipeline runs in real time on controlled, single-fruit webcam inputs; spatial object-detection performance is neither claimed nor evaluated because tight ground-truth bounding boxes are unavailable.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术文献互助群
群 号:604180095
Book学术官方微信
小红书