{"title":"基于改进的 RTDETR 模型的番茄果实检测和表型计算方法","authors":"","doi":"10.1016/j.compag.2024.109524","DOIUrl":null,"url":null,"abstract":"<div><div>Rapid detection of tomato fruits and accurate acquisition of phenotypic traits are of great significance for robotic automatic picking control, yield prediction, and variety breeding. Tomato fruits are often densely distributed in a complex canopy and obscured by branches and leaves, making it difficult to accurately detect tomato fruits and obtain phenotypic traits without damage. This paper proposes an automatic detection method for tomatoes based on an improved RTDETR model. Firstly, on the basis of the self-made calibration plate, the color image sensor is used to acquire the tomato image. Then, a CASA structure consisting of three modules: Multiscale Dilated Convolution (MDC), Focused Feature Downsampler (FFD) and Adaptive Feature Upsampler (AFU) was designed and embedded into the Neck structure of the RTDETR network to construct a tomato fruit detection method based on the improved RTDETR model. Finally, by integrating machine learning and graphics processing technology, a fruit color extraction method was established based on the CIELAB color space, a fruit diameter calculation method based on edge detection and Hough transform, and a fruit weight and circumference measurement method based on statistical regression models. The experimental results show that the <span><math><mrow><mi>m</mi><mi>A</mi><mi>P</mi><mi>_</mi><mn>0.5</mn></mrow></math></span> of the tomato fruit detection model established in this paper reaches 0.86, which is 3% higher than the original model; The correlation coefficient between the calculated and measured values of the horizontal and vertical diameters of the fruit was 0.79, and the mean square error (<span><math><mrow><mi>MSE</mi></mrow></math></span>) of the weight and circumference of the fruit was 0.26 and 0.27, respectively. This achievement has realized an accurate, lossless, and fast method for tomato fruit detection and phenotype calculation, providing quantitative reference indicators for fruit detection, positioning, and control of tomato automatic picking robots, and can provide technical support and guarantee for crop yield prediction and variety breeding.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":null,"pages":null},"PeriodicalIF":7.7000,"publicationDate":"2024-10-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Tomato fruit detection and phenotype calculation method based on the improved RTDETR model\",\"authors\":\"\",\"doi\":\"10.1016/j.compag.2024.109524\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Rapid detection of tomato fruits and accurate acquisition of phenotypic traits are of great significance for robotic automatic picking control, yield prediction, and variety breeding. Tomato fruits are often densely distributed in a complex canopy and obscured by branches and leaves, making it difficult to accurately detect tomato fruits and obtain phenotypic traits without damage. This paper proposes an automatic detection method for tomatoes based on an improved RTDETR model. Firstly, on the basis of the self-made calibration plate, the color image sensor is used to acquire the tomato image. Then, a CASA structure consisting of three modules: Multiscale Dilated Convolution (MDC), Focused Feature Downsampler (FFD) and Adaptive Feature Upsampler (AFU) was designed and embedded into the Neck structure of the RTDETR network to construct a tomato fruit detection method based on the improved RTDETR model. Finally, by integrating machine learning and graphics processing technology, a fruit color extraction method was established based on the CIELAB color space, a fruit diameter calculation method based on edge detection and Hough transform, and a fruit weight and circumference measurement method based on statistical regression models. The experimental results show that the <span><math><mrow><mi>m</mi><mi>A</mi><mi>P</mi><mi>_</mi><mn>0.5</mn></mrow></math></span> of the tomato fruit detection model established in this paper reaches 0.86, which is 3% higher than the original model; The correlation coefficient between the calculated and measured values of the horizontal and vertical diameters of the fruit was 0.79, and the mean square error (<span><math><mrow><mi>MSE</mi></mrow></math></span>) of the weight and circumference of the fruit was 0.26 and 0.27, respectively. This achievement has realized an accurate, lossless, and fast method for tomato fruit detection and phenotype calculation, providing quantitative reference indicators for fruit detection, positioning, and control of tomato automatic picking robots, and can provide technical support and guarantee for crop yield prediction and variety breeding.</div></div>\",\"PeriodicalId\":50627,\"journal\":{\"name\":\"Computers and Electronics in Agriculture\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":7.7000,\"publicationDate\":\"2024-10-11\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computers and Electronics in Agriculture\",\"FirstCategoryId\":\"97\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0168169924009153\",\"RegionNum\":1,\"RegionCategory\":\"农林科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"AGRICULTURE, MULTIDISCIPLINARY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Electronics in Agriculture","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168169924009153","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
Tomato fruit detection and phenotype calculation method based on the improved RTDETR model
Rapid detection of tomato fruits and accurate acquisition of phenotypic traits are of great significance for robotic automatic picking control, yield prediction, and variety breeding. Tomato fruits are often densely distributed in a complex canopy and obscured by branches and leaves, making it difficult to accurately detect tomato fruits and obtain phenotypic traits without damage. This paper proposes an automatic detection method for tomatoes based on an improved RTDETR model. Firstly, on the basis of the self-made calibration plate, the color image sensor is used to acquire the tomato image. Then, a CASA structure consisting of three modules: Multiscale Dilated Convolution (MDC), Focused Feature Downsampler (FFD) and Adaptive Feature Upsampler (AFU) was designed and embedded into the Neck structure of the RTDETR network to construct a tomato fruit detection method based on the improved RTDETR model. Finally, by integrating machine learning and graphics processing technology, a fruit color extraction method was established based on the CIELAB color space, a fruit diameter calculation method based on edge detection and Hough transform, and a fruit weight and circumference measurement method based on statistical regression models. The experimental results show that the of the tomato fruit detection model established in this paper reaches 0.86, which is 3% higher than the original model; The correlation coefficient between the calculated and measured values of the horizontal and vertical diameters of the fruit was 0.79, and the mean square error () of the weight and circumference of the fruit was 0.26 and 0.27, respectively. This achievement has realized an accurate, lossless, and fast method for tomato fruit detection and phenotype calculation, providing quantitative reference indicators for fruit detection, positioning, and control of tomato automatic picking robots, and can provide technical support and guarantee for crop yield prediction and variety breeding.
期刊介绍:
Computers and Electronics in Agriculture provides international coverage of advancements in computer hardware, software, electronic instrumentation, and control systems applied to agricultural challenges. Encompassing agronomy, horticulture, forestry, aquaculture, and animal farming, the journal publishes original papers, reviews, and applications notes. It explores the use of computers and electronics in plant or animal agricultural production, covering topics like agricultural soils, water, pests, controlled environments, and waste. The scope extends to on-farm post-harvest operations and relevant technologies, including artificial intelligence, sensors, machine vision, robotics, networking, and simulation modeling. Its companion journal, Smart Agricultural Technology, continues the focus on smart applications in production agriculture.