Sidharth N Pisharody , Palmani Duraisamy , Aravind Krishnaswamy Rangarajan , Rebecca L. Whetton , Ana Herrero-Langreo
{"title":"Precise Tomato Ripeness Estimation and Yield Prediction using Transformer Based Segmentation-SegLoRA","authors":"Sidharth N Pisharody , Palmani Duraisamy , Aravind Krishnaswamy Rangarajan , Rebecca L. Whetton , Ana Herrero-Langreo","doi":"10.1016/j.compag.2025.110172","DOIUrl":null,"url":null,"abstract":"<div><div>Accurate assessment of tomato (<em>Solanum lycopersicum</em>) ripeness is essential for the preservation of quality, meeting market demands and ensuring customer satisfaction. However, one of the key problems is accurately assessing the maturity levels of fruit under varying field conditions. Conventional computer vision models such as convolutional neural networks (CNN) demonstrate uneven performance under varying illumination conditions, particularly in arable farms. Further, it requires extensive training that involves fine-tuning entire model parameters and lags in global context learning. To address these issues, this work introduces a novel segmentation framework that integrates the SegFormer architecture with the Low-Rank Adaptation (SegLoRA) module. The proposed model attained significant performance improvement compared to state-of-the-art (SOTA) methods with a mean Intersection over Union (mIoU) of 83.25 %, an F1-score of 90.07 %, a test accuracy of 99.19 %, and a balanced accuracy of 93.88 %. Additionally, the computational cost was reduced by 26.98 % compared to existing SegFormer models. Further, the deployment on an edge computing device confirmed the proposed model’s feasibility in real time, with a minimal prediction delay of 0.065 s per frame. Moreover, its incorporation with an approximate yield estimation algorithm enables precise enumeration of harvestable tomatoes. These results demonstrate the scalability and efficiency of the SegLoRA, adding to the progress in automated ripeness detection and agricultural automation for selective harvesting operations.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"233 ","pages":"Article 110172"},"PeriodicalIF":7.7000,"publicationDate":"2025-03-03","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/S0168169925002789","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
Accurate assessment of tomato (Solanum lycopersicum) ripeness is essential for the preservation of quality, meeting market demands and ensuring customer satisfaction. However, one of the key problems is accurately assessing the maturity levels of fruit under varying field conditions. Conventional computer vision models such as convolutional neural networks (CNN) demonstrate uneven performance under varying illumination conditions, particularly in arable farms. Further, it requires extensive training that involves fine-tuning entire model parameters and lags in global context learning. To address these issues, this work introduces a novel segmentation framework that integrates the SegFormer architecture with the Low-Rank Adaptation (SegLoRA) module. The proposed model attained significant performance improvement compared to state-of-the-art (SOTA) methods with a mean Intersection over Union (mIoU) of 83.25 %, an F1-score of 90.07 %, a test accuracy of 99.19 %, and a balanced accuracy of 93.88 %. Additionally, the computational cost was reduced by 26.98 % compared to existing SegFormer models. Further, the deployment on an edge computing device confirmed the proposed model’s feasibility in real time, with a minimal prediction delay of 0.065 s per frame. Moreover, its incorporation with an approximate yield estimation algorithm enables precise enumeration of harvestable tomatoes. These results demonstrate the scalability and efficiency of the SegLoRA, adding to the progress in automated ripeness detection and agricultural automation for selective harvesting operations.
期刊介绍:
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.