Cargando…
YOLOv5-Atn: An Algorithm for Residual Film Detection in Farmland Combined with an Attention Mechanism
The application of mulching film has significantly contributed to improving agricultural output and benefits, but residual film has caused severe impacts on agricultural production and the environment. In order to realize the accurate recycling of agricultural residual film, the detection of residua...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10460032/ https://www.ncbi.nlm.nih.gov/pubmed/37631572 http://dx.doi.org/10.3390/s23167035 |
_version_ | 1785097554463031296 |
---|---|
author | Lin, Ying Zhang, Jianjie Jiang, Zhangzhen Tang, Yiyu |
author_facet | Lin, Ying Zhang, Jianjie Jiang, Zhangzhen Tang, Yiyu |
author_sort | Lin, Ying |
collection | PubMed |
description | The application of mulching film has significantly contributed to improving agricultural output and benefits, but residual film has caused severe impacts on agricultural production and the environment. In order to realize the accurate recycling of agricultural residual film, the detection of residual film is the first problem to be solved. The difference in color and texture between residual film and bare soil is not obvious, and residual film is of various sizes and morphologies. To solve these problems, the paper proposes a method for detecting residual film in agricultural fields that uses the attention mechanism. First, a two-stage pre-training approach with strengthened memory is proposed to enable the model to better understand the residual film features with limited data. Second, a multi-scale feature fusion module with adaptive weights is proposed to enhance the recognition of small targets of residual film by using attention. Finally, an inter-feature cross-attention mechanism that can realize full interaction between shallow and deep feature information to reduce the useless noise extracted from residual film images is designed. The experimental results on a self-made residual film dataset show that the improved model improves precision, recall, and mAP by 5.39%, 2.02%, and 3.95%, respectively, compared with the original model, and it also outperforms other recent detection models. The method provides strong technical support for accurately identifying farmland residual film and has the potential to be applied to mechanical equipment for the recycling of residual film. |
format | Online Article Text |
id | pubmed-10460032 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-104600322023-08-27 YOLOv5-Atn: An Algorithm for Residual Film Detection in Farmland Combined with an Attention Mechanism Lin, Ying Zhang, Jianjie Jiang, Zhangzhen Tang, Yiyu Sensors (Basel) Article The application of mulching film has significantly contributed to improving agricultural output and benefits, but residual film has caused severe impacts on agricultural production and the environment. In order to realize the accurate recycling of agricultural residual film, the detection of residual film is the first problem to be solved. The difference in color and texture between residual film and bare soil is not obvious, and residual film is of various sizes and morphologies. To solve these problems, the paper proposes a method for detecting residual film in agricultural fields that uses the attention mechanism. First, a two-stage pre-training approach with strengthened memory is proposed to enable the model to better understand the residual film features with limited data. Second, a multi-scale feature fusion module with adaptive weights is proposed to enhance the recognition of small targets of residual film by using attention. Finally, an inter-feature cross-attention mechanism that can realize full interaction between shallow and deep feature information to reduce the useless noise extracted from residual film images is designed. The experimental results on a self-made residual film dataset show that the improved model improves precision, recall, and mAP by 5.39%, 2.02%, and 3.95%, respectively, compared with the original model, and it also outperforms other recent detection models. The method provides strong technical support for accurately identifying farmland residual film and has the potential to be applied to mechanical equipment for the recycling of residual film. MDPI 2023-08-08 /pmc/articles/PMC10460032/ /pubmed/37631572 http://dx.doi.org/10.3390/s23167035 Text en © 2023 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Article Lin, Ying Zhang, Jianjie Jiang, Zhangzhen Tang, Yiyu YOLOv5-Atn: An Algorithm for Residual Film Detection in Farmland Combined with an Attention Mechanism |
title | YOLOv5-Atn: An Algorithm for Residual Film Detection in Farmland Combined with an Attention Mechanism |
title_full | YOLOv5-Atn: An Algorithm for Residual Film Detection in Farmland Combined with an Attention Mechanism |
title_fullStr | YOLOv5-Atn: An Algorithm for Residual Film Detection in Farmland Combined with an Attention Mechanism |
title_full_unstemmed | YOLOv5-Atn: An Algorithm for Residual Film Detection in Farmland Combined with an Attention Mechanism |
title_short | YOLOv5-Atn: An Algorithm for Residual Film Detection in Farmland Combined with an Attention Mechanism |
title_sort | yolov5-atn: an algorithm for residual film detection in farmland combined with an attention mechanism |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10460032/ https://www.ncbi.nlm.nih.gov/pubmed/37631572 http://dx.doi.org/10.3390/s23167035 |
work_keys_str_mv | AT linying yolov5atnanalgorithmforresidualfilmdetectioninfarmlandcombinedwithanattentionmechanism AT zhangjianjie yolov5atnanalgorithmforresidualfilmdetectioninfarmlandcombinedwithanattentionmechanism AT jiangzhangzhen yolov5atnanalgorithmforresidualfilmdetectioninfarmlandcombinedwithanattentionmechanism AT tangyiyu yolov5atnanalgorithmforresidualfilmdetectioninfarmlandcombinedwithanattentionmechanism |