Fresh and Rotten Fruits and Vegetables Classification using Hybrid ResNet-18–ViT Model

人工智能 特征提取 模型验证 机器学习 模式识别(心理学) 变压器 食品质量 数学 鉴定(生物学) 新鲜食物 训练集 工程类 质量(理念) 计算机科学 特征(语言学)
作者
V. Karunakaran,Vinoth Kumar Sathish Kumar,Mohanasundaram Gunasekaran,Bharani Dharan M,Naveen Kumar Thirugnanam
出处
期刊: [Institute of Electrical and Electronics Engineers]
卷期号:: 683-689
标识
DOI:10.1109/icicnis66685.2025.11315518
摘要

Accurate identification of spoiled versus fresh fruits and vegetables is important for quality control in agriculture. Traditional manual inspection is slow and inconsistent. This work compares a standard ResNet-18 model against a hybrid ResNet-18–Vision Transformer ResNet-18 ViT model for classifying fresh and rotten fruit and vegetable images. This work used a ResNet-18 backbone for feature extraction from the image, and the pre-trained ViT-B16 is used for the classification. Both the models are trained, tested, and validated on the Fresh and Rotten Classification dataset. The model is evaluated with the following performance metrics, such as accuracy, precision, recall, F1-score, and ROC-AUC for training, testing, and validation datasets. The ResNet-18 model achieves 98.77 percent training accuracy, 97.76 percent testing accuracy, and 98.40 percent validation accuracy. While the ResNet-18 ViT model achieves 99.40 percent training accuracy, 99.26 percent testing accuracy, and 99.37 percent validation accuracy. Our hybrid model consistently outperforms the standard ResNet-18, demonstrating that combining convolutional feature extractors with transformer-based global attention can improve classification of fruit and vegetable freshness. These results suggest that hybrid ResNet-18 transformer architectures are promising for image-based food quality assessment.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
2秒前
Lunar611完成签到,获得积分10
2秒前
科研通AI6.4的应助被唯恋采纳,获得10
3秒前
安彩青留下了新的社区评论
3秒前
4秒前
李健的应助被干净的琦采纳,获得10
4秒前
紧张的宛凝完成签到,获得积分10
4秒前
求求各位大哥救救小弟我吧完成签到,获得积分10
5秒前
5秒前
6秒前
7秒前
zlzl完成签到 ,获得积分10
7秒前
轻松聪展完成签到,获得积分20
7秒前
8秒前
ow完成签到 ,获得积分10
9秒前
9秒前
sagitar的应助被racill采纳,获得50
10秒前
核壳结构发布了新的文献求助10
10秒前
10秒前
桐桐的应助被爱吃肉肉的蚂蚁采纳,获得10
10秒前
11秒前
NIKO完成签到 ,获得积分10
11秒前
李爱国的应助被科研通管家采纳,获得10
11秒前
xing_xing的应助被科研通管家采纳,获得20
11秒前
汉堡包的应助被科研通管家采纳,获得10
12秒前
12秒前
在水一方的应助被科研通管家采纳,获得10
12秒前
小蘑菇的应助被科研通管家采纳,获得10
12秒前
十三的应助被科研通管家采纳,获得10
12秒前
CodeCraft的应助被科研通管家采纳,获得10
12秒前
mtxy01完成签到,获得积分10
13秒前
初见完成签到,获得积分10
13秒前
13秒前
13秒前
15秒前
15秒前
16秒前
16秒前
jiangsu20完成签到 ,获得积分10
17秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
拉伸高分子熔体中缠结行为的模拟和小角中子散射研究 1500
奈特基础组织学:配套组织病理学(第4版)(Netter's Essential Histology With Correlated Histopathology)求助 1000
Encyclopedia of Modern Artificial Intelligence 1000
John McDowells Bildungstheorie 800
Analyses de reconnaissances de dettes passées devant les échevins d'Ypres (1249-1291) 600
Synthesis, Application and Future Perspectives of Smart Nano-materials - Part 1 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8153573
求助须知:如何正确求助?哪些是违规求助? 9550279
关于积分的说明 21697424
捐赠科研通 7742161
什么是DOI,文献DOI怎么找? 3425546
关于科研通互助平台的介绍 2550636
邀请新用户注册赠送积分活动 2469181