Tomato ripeness detection method based on FasterNet block and attention mechanism

In modern agriculture, accurate detection of tomato maturity is crucial for efficient harvesting and grading. Traditional detection methods rely on manual experience, which is time-consuming, inefficient, and prone to subjective interference, making them unsuitable for large-scale production. To add...

Full description

Saved in:
Bibliographic Details
Main Authors: Ming Chen, Yixuan Xu, Wanxiang Qin, Yan Li, Jiyang Yu
Format: Article
Language:English
Published: AIP Publishing LLC 2025-06-01
Series:AIP Advances
Online Access:http://dx.doi.org/10.1063/5.0280801
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1839642066362040320
author Ming Chen
Yixuan Xu
Wanxiang Qin
Yan Li
Jiyang Yu
author_facet Ming Chen
Yixuan Xu
Wanxiang Qin
Yan Li
Jiyang Yu
author_sort Ming Chen
collection DOAJ
description In modern agriculture, accurate detection of tomato maturity is crucial for efficient harvesting and grading. Traditional detection methods rely on manual experience, which is time-consuming, inefficient, and prone to subjective interference, making them unsuitable for large-scale production. To address this, this study proposes a tomato maturity detection model based on an improved YOLOv11n, incorporating the C3k2-Faster-EMA module to enhance the model's feature extraction capability and detection efficiency. In addition, the SimAM attention mechanism is introduced, enabling the model to intelligently focus on key features of the tomatoes, thereby improving its ability to recognize tomatoes at different maturity stages and enhancing detection accuracy. Furthermore, the generalized intersection over union loss function is employed to introduce a target box overlap metric, optimizing the object localization process and improving the precision of fruit positioning. Experimental results on the tomato maturity dataset show that the proposed method performs excellently in tomato maturity detection, achieving an mAP of 86.0% and an accuracy of 85.4%. Compared to the baseline model, the number of parameters is reduced by 11.2%, while the frames-per-second detection speed is increased by 23.1%, with significant improvements in stability. This provides reliable technical support for intelligent harvesting and grading, with broad application prospects.
format Article
id doaj-art-38b51fba942f40459551b2e2a54b6d7c
institution Matheson Library
issn 2158-3226
language English
publishDate 2025-06-01
publisher AIP Publishing LLC
record_format Article
series AIP Advances
spelling doaj-art-38b51fba942f40459551b2e2a54b6d7c2025-07-02T17:30:57ZengAIP Publishing LLCAIP Advances2158-32262025-06-01156065117065117-1410.1063/5.0280801Tomato ripeness detection method based on FasterNet block and attention mechanismMing Chen0Yixuan Xu1Wanxiang Qin2Yan Li3Jiyang Yu4School of Information and Intelligent Engineering, University of Sanya, Sanya 572022, ChinaFaculty of Engineering, University of Sydney, City Road, Camperdown NSW 2006, AustraliaCollege of Arts and Design, Yulin Normal University, Yulin 537000, ChinaThalesgroup, Ottawa, Ontario K1K 4Z9, CanadaGraduate School of Management of Technology, Pukyong National University, Busan 48547, South KoreaIn modern agriculture, accurate detection of tomato maturity is crucial for efficient harvesting and grading. Traditional detection methods rely on manual experience, which is time-consuming, inefficient, and prone to subjective interference, making them unsuitable for large-scale production. To address this, this study proposes a tomato maturity detection model based on an improved YOLOv11n, incorporating the C3k2-Faster-EMA module to enhance the model's feature extraction capability and detection efficiency. In addition, the SimAM attention mechanism is introduced, enabling the model to intelligently focus on key features of the tomatoes, thereby improving its ability to recognize tomatoes at different maturity stages and enhancing detection accuracy. Furthermore, the generalized intersection over union loss function is employed to introduce a target box overlap metric, optimizing the object localization process and improving the precision of fruit positioning. Experimental results on the tomato maturity dataset show that the proposed method performs excellently in tomato maturity detection, achieving an mAP of 86.0% and an accuracy of 85.4%. Compared to the baseline model, the number of parameters is reduced by 11.2%, while the frames-per-second detection speed is increased by 23.1%, with significant improvements in stability. This provides reliable technical support for intelligent harvesting and grading, with broad application prospects.http://dx.doi.org/10.1063/5.0280801
spellingShingle Ming Chen
Yixuan Xu
Wanxiang Qin
Yan Li
Jiyang Yu
Tomato ripeness detection method based on FasterNet block and attention mechanism
AIP Advances
title Tomato ripeness detection method based on FasterNet block and attention mechanism
title_full Tomato ripeness detection method based on FasterNet block and attention mechanism
title_fullStr Tomato ripeness detection method based on FasterNet block and attention mechanism
title_full_unstemmed Tomato ripeness detection method based on FasterNet block and attention mechanism
title_short Tomato ripeness detection method based on FasterNet block and attention mechanism
title_sort tomato ripeness detection method based on fasternet block and attention mechanism
url http://dx.doi.org/10.1063/5.0280801
work_keys_str_mv AT mingchen tomatoripenessdetectionmethodbasedonfasternetblockandattentionmechanism
AT yixuanxu tomatoripenessdetectionmethodbasedonfasternetblockandattentionmechanism
AT wanxiangqin tomatoripenessdetectionmethodbasedonfasternetblockandattentionmechanism
AT yanli tomatoripenessdetectionmethodbasedonfasternetblockandattentionmechanism
AT jiyangyu tomatoripenessdetectionmethodbasedonfasternetblockandattentionmechanism