SwishFormer for robust firmness and ripeness recognition of fruits using visual tactile imagery

IF 6.4 1区 农林科学 Q1 AGRONOMY
Mashood M. Mohsan , Basma B. Hasanen , Taimur Hassan , Muhayy Ud Din , Naoufel Werghi , Lakmal Seneviratne , Irfan Hussain
{"title":"SwishFormer for robust firmness and ripeness recognition of fruits using visual tactile imagery","authors":"Mashood M. Mohsan ,&nbsp;Basma B. Hasanen ,&nbsp;Taimur Hassan ,&nbsp;Muhayy Ud Din ,&nbsp;Naoufel Werghi ,&nbsp;Lakmal Seneviratne ,&nbsp;Irfan Hussain","doi":"10.1016/j.postharvbio.2025.113487","DOIUrl":null,"url":null,"abstract":"<div><div>The accurate assessment of fruit ripeness is a critical task in the agricultural industry. It affects the fruit quality, shelf-life, and consumer satisfaction. Traditional methods for estimating fruit ripeness rely on subjective human judgment and invasive sampling techniques, which are both infeasible and time-consuming. This paper presents a novel method for estimating firmness and ripeness of fruits using their palpation motion encoded within the visual tactile scans. Moreover, these tactile scans are passed to the proposed SwishFormer model coupled with Random Forest head to predict the fruits firmness, which is later used in classifying the fruits ripeness stage. SwishFormer, unlike the existing state-of-the-art models, encompasses hardswish activation as a token mixer which allows it to generate distinctive set of features from the candidate tactile scans. These rich feature representations are then fed to the Random Forest regressor to robustly estimate the fruit firmness values and the estimated firmness values are then used in accurately predicting the ripeness level of the fruits. Apart from this, SwishFormer is extensively evaluated on the proposed dataset, containing the palpation visual tactile scans, and it outperforms state-of-the-art works by achieving 4.77%, 4.09%, 13.69%, and 4.65% better performance in terms of MSE, RMSE, R<span><math><msup><mrow></mrow><mrow><mn>2</mn></mrow></msup></math></span>, and MAE scores, while possessing 2.02 times less parameters, and 2.09 times lesser GMACs. Additionally, the ripeness recognition performance of the proposed system is thoroughly tested through real-world experiments using a Stretch Robot, where it achieves a success rate of 96.6%, 98.3%, and 93.3% for recognizing avocados as underripe, ripe, and overripe, respectively. To the best of our knowledge, this paper introduces a first non-destructive approach to estimate fruit firmness and ripeness using off-the-shelf vision-based tactile information. Moreover, the proposed dataset and source code of this work is available at <span><span>https://mashood3624.github.io/SwishFormer/</span><svg><path></path></svg></span>.</div></div>","PeriodicalId":20328,"journal":{"name":"Postharvest Biology and Technology","volume":"225 ","pages":"Article 113487"},"PeriodicalIF":6.4000,"publicationDate":"2025-03-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Postharvest Biology and Technology","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0925521425000997","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRONOMY","Score":null,"Total":0}
引用次数: 0

Abstract

The accurate assessment of fruit ripeness is a critical task in the agricultural industry. It affects the fruit quality, shelf-life, and consumer satisfaction. Traditional methods for estimating fruit ripeness rely on subjective human judgment and invasive sampling techniques, which are both infeasible and time-consuming. This paper presents a novel method for estimating firmness and ripeness of fruits using their palpation motion encoded within the visual tactile scans. Moreover, these tactile scans are passed to the proposed SwishFormer model coupled with Random Forest head to predict the fruits firmness, which is later used in classifying the fruits ripeness stage. SwishFormer, unlike the existing state-of-the-art models, encompasses hardswish activation as a token mixer which allows it to generate distinctive set of features from the candidate tactile scans. These rich feature representations are then fed to the Random Forest regressor to robustly estimate the fruit firmness values and the estimated firmness values are then used in accurately predicting the ripeness level of the fruits. Apart from this, SwishFormer is extensively evaluated on the proposed dataset, containing the palpation visual tactile scans, and it outperforms state-of-the-art works by achieving 4.77%, 4.09%, 13.69%, and 4.65% better performance in terms of MSE, RMSE, R2, and MAE scores, while possessing 2.02 times less parameters, and 2.09 times lesser GMACs. Additionally, the ripeness recognition performance of the proposed system is thoroughly tested through real-world experiments using a Stretch Robot, where it achieves a success rate of 96.6%, 98.3%, and 93.3% for recognizing avocados as underripe, ripe, and overripe, respectively. To the best of our knowledge, this paper introduces a first non-destructive approach to estimate fruit firmness and ripeness using off-the-shelf vision-based tactile information. Moreover, the proposed dataset and source code of this work is available at https://mashood3624.github.io/SwishFormer/.
求助全文
约1分钟内获得全文 求助全文
来源期刊
Postharvest Biology and Technology
Postharvest Biology and Technology 农林科学-农艺学
CiteScore
12.00
自引率
11.40%
发文量
309
审稿时长
38 days
期刊介绍: The journal is devoted exclusively to the publication of original papers, review articles and frontiers articles on biological and technological postharvest research. This includes the areas of postharvest storage, treatments and underpinning mechanisms, quality evaluation, packaging, handling and distribution of fresh horticultural crops including fruit, vegetables, flowers and nuts, but excluding grains, seeds and forages. Papers reporting novel insights from fundamental and interdisciplinary research will be particularly encouraged. These disciplines include systems biology, bioinformatics, entomology, plant physiology, plant pathology, (bio)chemistry, engineering, modelling, and technologies for nondestructive testing. Manuscripts on fresh food crops that will be further processed after postharvest storage, or on food processes beyond refrigeration, packaging and minimal processing will not be considered.
×
引用
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学术官方微信