Deep learning model for precise and rapid prediction of tomato maturity based on image recognition

Muhammad Waseem , Muhammad Muzzammil Sajjad , Laraib Haider Naqvi , Yaqoob Majeed , Tanzeel Ur Rehman , Tayyaba Nadeem
{"title":"Deep learning model for precise and rapid prediction of tomato maturity based on image recognition","authors":"Muhammad Waseem ,&nbsp;Muhammad Muzzammil Sajjad ,&nbsp;Laraib Haider Naqvi ,&nbsp;Yaqoob Majeed ,&nbsp;Tanzeel Ur Rehman ,&nbsp;Tayyaba Nadeem","doi":"10.1016/j.foodp.2025.100060","DOIUrl":null,"url":null,"abstract":"<div><div>Tomato maturity plays a pivotal role in optimizing harvest timing and ensuring product quality, but current methods struggle to achieve high accuracy along computational efficiency simultaneously. Existing deep learning approaches, while accurate, are often too computationally demanding for practical use in resource-constrained agricultural settings. In contrast, simpler techniques fail to capture the nuanced features needed for precise classification. This study aims to develop a computationally efficient tomato classification model using the ResNet-18 architecture optimized through transfer learning, pruning, and quantization techniques. Our objective is to address the dual challenge of maintaining high accuracy while enabling real-time performance on low-power edge devices. Then, these models were deployed on an edge device to investigate their performance for tomato maturity classification. The quantized model achieved an accuracy of 97.81 %, offering superior efficiency with an average classification time of 0.000975 s per image. The pruned and auto-tuned model also demonstrated significant improvements in deployment metrics, further highlighting the benefits of optimization techniques. These results underscore the potential for a balanced solution that meets the accuracy and efficiency demands of modern agricultural production, paving the way for practical, real-world deployment in resource-limited environments.</div></div>","PeriodicalId":100545,"journal":{"name":"Food Physics","volume":"2 ","pages":"Article 100060"},"PeriodicalIF":0.0000,"publicationDate":"2025-07-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Food Physics","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2950069925000143","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Tomato maturity plays a pivotal role in optimizing harvest timing and ensuring product quality, but current methods struggle to achieve high accuracy along computational efficiency simultaneously. Existing deep learning approaches, while accurate, are often too computationally demanding for practical use in resource-constrained agricultural settings. In contrast, simpler techniques fail to capture the nuanced features needed for precise classification. This study aims to develop a computationally efficient tomato classification model using the ResNet-18 architecture optimized through transfer learning, pruning, and quantization techniques. Our objective is to address the dual challenge of maintaining high accuracy while enabling real-time performance on low-power edge devices. Then, these models were deployed on an edge device to investigate their performance for tomato maturity classification. The quantized model achieved an accuracy of 97.81 %, offering superior efficiency with an average classification time of 0.000975 s per image. The pruned and auto-tuned model also demonstrated significant improvements in deployment metrics, further highlighting the benefits of optimization techniques. These results underscore the potential for a balanced solution that meets the accuracy and efficiency demands of modern agricultural production, paving the way for practical, real-world deployment in resource-limited environments.
基于图像识别的番茄成熟度精确快速预测的深度学习模型
番茄成熟度对优化收获时机和保证产品质量起着至关重要的作用,但目前的方法难以同时实现高精度和计算效率。现有的深度学习方法虽然准确,但对于资源受限的农业环境的实际应用来说,往往对计算量要求过高。相比之下,更简单的技术无法捕捉精确分类所需的细微特征。本研究旨在利用通过迁移学习、修剪和量化技术优化的ResNet-18架构开发一个计算效率高的番茄分类模型。我们的目标是解决在低功耗边缘设备上保持高精度同时实现实时性能的双重挑战。然后,将这些模型部署在边缘设备上,研究它们对番茄成熟度分类的性能。量化模型的准确率为97.81 %,每张图像的平均分类时间为0.000975 s,效率很高。经过修剪和自动调优的模型还显示了部署指标的显著改进,进一步突出了优化技术的好处。这些结果强调了满足现代农业生产精度和效率要求的平衡解决方案的潜力,为在资源有限的环境中实际部署铺平了道路。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术官方微信