Xiaorong Wang , Jianping Zhou , Yan Xu , Chao Cui , Zihe Liu , Jinrong Chen
{"title":"基于改进的 Yolov5 算法的复杂环境中红花花丝采摘点的定位","authors":"Xiaorong Wang , Jianping Zhou , Yan Xu , Chao Cui , Zihe Liu , Jinrong Chen","doi":"10.1016/j.compag.2024.109463","DOIUrl":null,"url":null,"abstract":"<div><div>Mechanized safflower harvesting is prone to inaccurate recognition and positioning of safflower filaments, which is influenced by complex environmental factors such as occlusion, lighting, and challenges related to small targets and small samples. To solve this problem, we improved on the Yolov5 algorithm model and developed a two-stage recognition and positioning approach named Yolov5-ABBM. A safflower dataset was established to classify safflower filaments based on their maturity levels. The Swin Transformer attention mechanism was incorporated to improve the feature-extraction capability of the algorithm model, particularly for small samples and small targets. A geometric operation algorithm based on Bbox and Mask (ABBM) was developed to enhance the positioning speed and minimize missed recognition when locating safflower-filament picking points. Experimental results show that the improved model achieved a recognition precision improvement of 5.8% and 7.9% based on Bbox and Mask, respectively, and exhibited a significant enhancement of 15.3% and 19.4% for small samples. The positioning precision reached 98.19%, with an average positioning running time of 0.018 s per frame image. The improved model demonstrated superior accuracy and positioning speed compared with other algorithm models. The results show that the improved model could accurately identify and locate safflower-filament picking points, particularly for small samples, thereby offering technical support for efficient mechanized safflower harvesting.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"227 ","pages":"Article 109463"},"PeriodicalIF":7.7000,"publicationDate":"2024-11-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Location of safflower filaments picking points in complex environment based on improved Yolov5 algorithm\",\"authors\":\"Xiaorong Wang , Jianping Zhou , Yan Xu , Chao Cui , Zihe Liu , Jinrong Chen\",\"doi\":\"10.1016/j.compag.2024.109463\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>Mechanized safflower harvesting is prone to inaccurate recognition and positioning of safflower filaments, which is influenced by complex environmental factors such as occlusion, lighting, and challenges related to small targets and small samples. To solve this problem, we improved on the Yolov5 algorithm model and developed a two-stage recognition and positioning approach named Yolov5-ABBM. A safflower dataset was established to classify safflower filaments based on their maturity levels. The Swin Transformer attention mechanism was incorporated to improve the feature-extraction capability of the algorithm model, particularly for small samples and small targets. A geometric operation algorithm based on Bbox and Mask (ABBM) was developed to enhance the positioning speed and minimize missed recognition when locating safflower-filament picking points. Experimental results show that the improved model achieved a recognition precision improvement of 5.8% and 7.9% based on Bbox and Mask, respectively, and exhibited a significant enhancement of 15.3% and 19.4% for small samples. The positioning precision reached 98.19%, with an average positioning running time of 0.018 s per frame image. The improved model demonstrated superior accuracy and positioning speed compared with other algorithm models. The results show that the improved model could accurately identify and locate safflower-filament picking points, particularly for small samples, thereby offering technical support for efficient mechanized safflower harvesting.</div></div>\",\"PeriodicalId\":50627,\"journal\":{\"name\":\"Computers and Electronics in Agriculture\",\"volume\":\"227 \",\"pages\":\"Article 109463\"},\"PeriodicalIF\":7.7000,\"publicationDate\":\"2024-11-27\",\"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/S0168169924008548\",\"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/S0168169924008548","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
Location of safflower filaments picking points in complex environment based on improved Yolov5 algorithm
Mechanized safflower harvesting is prone to inaccurate recognition and positioning of safflower filaments, which is influenced by complex environmental factors such as occlusion, lighting, and challenges related to small targets and small samples. To solve this problem, we improved on the Yolov5 algorithm model and developed a two-stage recognition and positioning approach named Yolov5-ABBM. A safflower dataset was established to classify safflower filaments based on their maturity levels. The Swin Transformer attention mechanism was incorporated to improve the feature-extraction capability of the algorithm model, particularly for small samples and small targets. A geometric operation algorithm based on Bbox and Mask (ABBM) was developed to enhance the positioning speed and minimize missed recognition when locating safflower-filament picking points. Experimental results show that the improved model achieved a recognition precision improvement of 5.8% and 7.9% based on Bbox and Mask, respectively, and exhibited a significant enhancement of 15.3% and 19.4% for small samples. The positioning precision reached 98.19%, with an average positioning running time of 0.018 s per frame image. The improved model demonstrated superior accuracy and positioning speed compared with other algorithm models. The results show that the improved model could accurately identify and locate safflower-filament picking points, particularly for small samples, thereby offering technical support for efficient mechanized safflower harvesting.
期刊介绍:
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.