Tomato Maturity Detection and Counting Model Based on MHSA-YOLOv8.
complex environment
counting
maturity grading
target detection
tomato
Journal
Sensors (Basel, Switzerland)
ISSN: 1424-8220
Titre abrégé: Sensors (Basel)
Pays: Switzerland
ID NLM: 101204366
Informations de publication
Date de publication:
26 Jul 2023
26 Jul 2023
Historique:
received:
28
06
2023
revised:
19
07
2023
accepted:
25
07
2023
medline:
14
8
2023
pubmed:
12
8
2023
entrez:
12
8
2023
Statut:
epublish
Résumé
The online automated maturity grading and counting of tomato fruits has a certain promoting effect on digital supervision of fruit growth status and unmanned precision operations during the planting process. The traditional grading and counting of tomato fruit maturity is mostly done manually, which is time-consuming and laborious work, and its precision depends on the accuracy of human eye observation. The combination of artificial intelligence and machine vision has to some extent solved this problem. In this work, firstly, a digital camera is used to obtain tomato fruit image datasets, taking into account factors such as occlusion and external light interference. Secondly, based on the tomato maturity grading task requirements, the MHSA attention mechanism is adopted to improve YOLOv8's backbone to enhance the network's ability to extract diverse features. The Precision, Recall, F1-score, and mAP50 of the tomato fruit maturity grading model constructed based on MHSA-YOLOv8 were 0.806, 0.807, 0.806, and 0.864, respectively, which improved the performance of the model with a slight increase in model size. Finally, thanks to the excellent performance of MHSA-YOLOv8, the Precision, Recall, F1-score, and mAP50 of the constructed counting models were 0.990, 0.960, 0.975, and 0.916, respectively. The tomato maturity grading and counting model constructed in this study is not only suitable for online detection but also for offline detection, which greatly helps to improve the harvesting and grading efficiency of tomato growers. The main innovations of this study are summarized as follows: (1) a tomato maturity grading and counting dataset collected from actual production scenarios was constructed; (2) considering the complexity of the environment, this study proposes a new object detection method, MHSA-YOLOv8, and constructs tomato maturity grading models and counting models, respectively; (3) the models constructed in this study are not only suitable for online grading and counting but also for offline grading and counting.
Identifiants
pubmed: 37571485
pii: s23156701
doi: 10.3390/s23156701
pmc: PMC10422388
pii:
doi:
Types de publication
Journal Article
Langues
eng
Sous-ensembles de citation
IM
Subventions
Organisme : the Research and Development of Key Technologies and Equipment of Aquaponics Intelligent Factory
ID : CSTB2022TIAD-ZXX0053
Déclaration de conflit d'intérêts
The authors declare no conflicts of interest.
Références
IEEE Trans Pattern Anal Mach Intell. 2017 Jun;39(6):1137-1149
pubmed: 27295650
J Food Sci Technol. 2015 Mar;52(3):1316-27
pubmed: 25745200
J Food Sci Technol. 2018 Aug;55(8):3008-3015
pubmed: 30065410
Plants (Basel). 2018 Jan 10;7(1):
pubmed: 29320410
Sci Rep. 2021 Sep 15;11(1):18315
pubmed: 34526627
Sensors (Basel). 2021 Feb 11;21(4):
pubmed: 33670232