基于机器视觉的番茄无损检测系统的研制

IF 2.9 3区 农林科学 Q2 FOOD SCIENCE & TECHNOLOGY
Jinlong You, Baochao Wang, Chengpeng Qin, Dongwei Wang, Ning Jin, Xueguan Zhao, Fengmei Li, Gang Dou, Haoran Bai
{"title":"基于机器视觉的番茄无损检测系统的研制","authors":"Jinlong You,&nbsp;Baochao Wang,&nbsp;Chengpeng Qin,&nbsp;Dongwei Wang,&nbsp;Ning Jin,&nbsp;Xueguan Zhao,&nbsp;Fengmei Li,&nbsp;Gang Dou,&nbsp;Haoran Bai","doi":"10.1007/s11694-025-03197-7","DOIUrl":null,"url":null,"abstract":"<div><p>Tomato size can be used as an indicator for judging its quality and yield, which is helpful for quality assessment and yield management. In order to fulfill the task of fast and accurate measurement of tomato size, in this study a tomato size integrating segmentation and detection measurement system were proposed and constructed, which can complete the calculation of tomato size calibration coefficients, the recognition and segmentation of tomato images and the measurement of tomato size. An improved model for tomato recognition and segmentation based on machine vision is first presented in this study. The model constructs a lightweight network model Tomato-YOLOv8s-Seg based on YOLO v8s, improves and replaces all the convolutional layers with GHostconv, and redesigns the C2f_SE module, introduces the SE attention mechanism on top of the C2f module, and additionally fuses the shared parameters and the feature fusion module BiFPN on the detector head processing to reduce the reference numbers; secondly, a new tomato size measurement scheme is proposed, which firstly measures the actual size of the tomato using the head measurement system, then uses the proposed network model segmentation to get the number of pixels of the tomato size, and calculates the calibration coefficients by the calculation of both of them and then calculates the actual size of the other tomatoes in the image; finally, experiment are carried out by using the tomato measurement system constructed in this study. The experiment results show that the proposed lightweight network model deployed on OrangePi5pro had an accuracy of 92.1%, an FPS of 54, a MAPE of 1.60% and 4.79% for measuring tomato diameter and volume size, an RMSE of 0.09 cm and 6.51cm<sup>3</sup>, and a measurement time of 0.5 s per tomato. The system provides a fast, accurate, and low-cost solution for non-contact measurement of tomato size.</p></div>","PeriodicalId":631,"journal":{"name":"Journal of Food Measurement and Characterization","volume":"19 5","pages":"3507 - 3525"},"PeriodicalIF":2.9000,"publicationDate":"2025-03-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Development of tomato non-destructive measurement system based on machine vision\",\"authors\":\"Jinlong You,&nbsp;Baochao Wang,&nbsp;Chengpeng Qin,&nbsp;Dongwei Wang,&nbsp;Ning Jin,&nbsp;Xueguan Zhao,&nbsp;Fengmei Li,&nbsp;Gang Dou,&nbsp;Haoran Bai\",\"doi\":\"10.1007/s11694-025-03197-7\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>Tomato size can be used as an indicator for judging its quality and yield, which is helpful for quality assessment and yield management. In order to fulfill the task of fast and accurate measurement of tomato size, in this study a tomato size integrating segmentation and detection measurement system were proposed and constructed, which can complete the calculation of tomato size calibration coefficients, the recognition and segmentation of tomato images and the measurement of tomato size. An improved model for tomato recognition and segmentation based on machine vision is first presented in this study. The model constructs a lightweight network model Tomato-YOLOv8s-Seg based on YOLO v8s, improves and replaces all the convolutional layers with GHostconv, and redesigns the C2f_SE module, introduces the SE attention mechanism on top of the C2f module, and additionally fuses the shared parameters and the feature fusion module BiFPN on the detector head processing to reduce the reference numbers; secondly, a new tomato size measurement scheme is proposed, which firstly measures the actual size of the tomato using the head measurement system, then uses the proposed network model segmentation to get the number of pixels of the tomato size, and calculates the calibration coefficients by the calculation of both of them and then calculates the actual size of the other tomatoes in the image; finally, experiment are carried out by using the tomato measurement system constructed in this study. The experiment results show that the proposed lightweight network model deployed on OrangePi5pro had an accuracy of 92.1%, an FPS of 54, a MAPE of 1.60% and 4.79% for measuring tomato diameter and volume size, an RMSE of 0.09 cm and 6.51cm<sup>3</sup>, and a measurement time of 0.5 s per tomato. The system provides a fast, accurate, and low-cost solution for non-contact measurement of tomato size.</p></div>\",\"PeriodicalId\":631,\"journal\":{\"name\":\"Journal of Food Measurement and Characterization\",\"volume\":\"19 5\",\"pages\":\"3507 - 3525\"},\"PeriodicalIF\":2.9000,\"publicationDate\":\"2025-03-24\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of Food Measurement and Characterization\",\"FirstCategoryId\":\"97\",\"ListUrlMain\":\"https://link.springer.com/article/10.1007/s11694-025-03197-7\",\"RegionNum\":3,\"RegionCategory\":\"农林科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"FOOD SCIENCE & TECHNOLOGY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Food Measurement and Characterization","FirstCategoryId":"97","ListUrlMain":"https://link.springer.com/article/10.1007/s11694-025-03197-7","RegionNum":3,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"FOOD SCIENCE & TECHNOLOGY","Score":null,"Total":0}
引用次数: 0

摘要

番茄大小可以作为判断番茄品质和产量的指标,有助于质量评价和产量管理。为了实现番茄尺寸的快速准确测量,本研究提出并构建了一种番茄尺寸分割与检测一体化测量系统,该系统可完成番茄尺寸标定系数的计算、番茄图像的识别与分割以及番茄尺寸的测量。本文首次提出了一种改进的基于机器视觉的番茄识别与分割模型。该模型构建了基于YOLOv8s的轻量级网络模型Tomato-YOLOv8s-Seg,用GHostconv改进和替换了所有卷积层,并重新设计了C2f_SE模块,在C2f模块的基础上引入了SE关注机制,并在检测器头部处理上额外融合了共享参数和特征融合模块BiFPN,减少了参考数;其次,提出了一种新的番茄尺寸测量方案,该方案首先利用头部测量系统测量番茄的实际尺寸,然后利用所提出的网络模型分割得到番茄尺寸的像素数,通过两者的计算计算出校正系数,再计算出图像中其他番茄的实际尺寸;最后,利用本研究构建的番茄测量系统进行了实验。实验结果表明,在OrangePi5pro上部署的轻量级网络模型测量番茄直径和体积大小的准确率为92.1%,FPS为54,MAPE为1.60%和4.79%,RMSE为0.09 cm和6.51 1cm3,每个番茄的测量时间为0.5 s。该系统为非接触式番茄尺寸测量提供了快速、准确、低成本的解决方案。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Development of tomato non-destructive measurement system based on machine vision

Tomato size can be used as an indicator for judging its quality and yield, which is helpful for quality assessment and yield management. In order to fulfill the task of fast and accurate measurement of tomato size, in this study a tomato size integrating segmentation and detection measurement system were proposed and constructed, which can complete the calculation of tomato size calibration coefficients, the recognition and segmentation of tomato images and the measurement of tomato size. An improved model for tomato recognition and segmentation based on machine vision is first presented in this study. The model constructs a lightweight network model Tomato-YOLOv8s-Seg based on YOLO v8s, improves and replaces all the convolutional layers with GHostconv, and redesigns the C2f_SE module, introduces the SE attention mechanism on top of the C2f module, and additionally fuses the shared parameters and the feature fusion module BiFPN on the detector head processing to reduce the reference numbers; secondly, a new tomato size measurement scheme is proposed, which firstly measures the actual size of the tomato using the head measurement system, then uses the proposed network model segmentation to get the number of pixels of the tomato size, and calculates the calibration coefficients by the calculation of both of them and then calculates the actual size of the other tomatoes in the image; finally, experiment are carried out by using the tomato measurement system constructed in this study. The experiment results show that the proposed lightweight network model deployed on OrangePi5pro had an accuracy of 92.1%, an FPS of 54, a MAPE of 1.60% and 4.79% for measuring tomato diameter and volume size, an RMSE of 0.09 cm and 6.51cm3, and a measurement time of 0.5 s per tomato. The system provides a fast, accurate, and low-cost solution for non-contact measurement of tomato size.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Journal of Food Measurement and Characterization
Journal of Food Measurement and Characterization Agricultural and Biological Sciences-Food Science
CiteScore
6.00
自引率
11.80%
发文量
425
期刊介绍: This interdisciplinary journal publishes new measurement results, characteristic properties, differentiating patterns, measurement methods and procedures for such purposes as food process innovation, product development, quality control, and safety assurance. The journal encompasses all topics related to food property measurement and characterization, including all types of measured properties of food and food materials, features and patterns, measurement principles and techniques, development and evaluation of technologies, novel uses and applications, and industrial implementation of systems and procedures.
×
引用
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学术官方微信