A peanut and weed detection model used in fields based on BEM-YOLOv7-tiny

Due to the different weed characteristics in peanut fields at different weeding periods, there is an urgent need to study a general model of peanut and weed detection and identification applicable to different weeding periods in order to adapt to the development of mechanical intelligent weeding in...

Full description

Bibliographic Details
Main Authors: Yong Hua, Hongzhen Xu, Jiaodi Liu, Longzhe Quan, Xiaoman Wu, Qingli Chen
Format: Article
Language:English
Published: AIMS Press 2023-10-01
Series:Mathematical Biosciences and Engineering
Subjects:
Online Access:https://www.aimspress.com/article/doi/10.3934/mbe.2023855?viewType=HTML
_version_ 1797627784788443136
author Yong Hua
Hongzhen Xu
Jiaodi Liu
Longzhe Quan
Xiaoman Wu
Qingli Chen
author_facet Yong Hua
Hongzhen Xu
Jiaodi Liu
Longzhe Quan
Xiaoman Wu
Qingli Chen
author_sort Yong Hua
collection DOAJ
description Due to the different weed characteristics in peanut fields at different weeding periods, there is an urgent need to study a general model of peanut and weed detection and identification applicable to different weeding periods in order to adapt to the development of mechanical intelligent weeding in fields. To this end, we propose a BEM-YOLOv7-tiny target detection model for peanuts and weeds identification and localization at different weeding periods to achieve mechanical intelligent weeding in peanut fields at different weeding periods. The ECA and MHSA modules were used to enhance the extraction of target features and the focus on predicted targets, respectively, the BiFPN module was used to enhance the feature transfer between network layers, and the SIoU loss function was used to increase the convergence speed and efficiency of model training and to improve the detection performance of the model in the field. The experimental results showed that the precision, recall, mAP and F1 values of the BEM-YOLOv7-tiny model were improved by 1.6%, 4.9%, 4.4% and 3.2% for weed targets and 1.0%, 2.4%, 2.2% and 1.7% for all targets compared with the original YOLOv7-tiny. The experimental results of positioning error show that the peanut positioning offset error detected by BEM-YOLOv7-tiny is less than 16 pixels, and the detection speed is 33.8 f/s, which meets the requirements of real-time seedling grass detection and positioning in the field. It provides preliminary technical support for intelligent mechanical weeding in peanut fields at different stages.
first_indexed 2024-03-11T10:29:24Z
format Article
id doaj.art-1a8e8c1f92504d10a93bd8eba476b913
institution Directory Open Access Journal
issn 1551-0018
language English
last_indexed 2024-03-11T10:29:24Z
publishDate 2023-10-01
publisher AIMS Press
record_format Article
series Mathematical Biosciences and Engineering
spelling doaj.art-1a8e8c1f92504d10a93bd8eba476b9132023-11-15T01:14:28ZengAIMS PressMathematical Biosciences and Engineering1551-00182023-10-012011193411935910.3934/mbe.2023855A peanut and weed detection model used in fields based on BEM-YOLOv7-tinyYong Hua0Hongzhen Xu1Jiaodi Liu2Longzhe Quan 3Xiaoman Wu 4Qingli Chen 51. College of Mechanical and Control Engineering, Guilin University of Technology, Guilin 541004, China1. College of Mechanical and Control Engineering, Guilin University of Technology, Guilin 541004, China 2. Key Laboratory of Advanced Manufacturing and Automation Technology (Guilin University of Technology), Education Department of Guangxi Zhuang Autonomous Region, Guilin 541006, China1. College of Mechanical and Control Engineering, Guilin University of Technology, Guilin 541004, China 2. Key Laboratory of Advanced Manufacturing and Automation Technology (Guilin University of Technology), Education Department of Guangxi Zhuang Autonomous Region, Guilin 541006, China3. College of Engineering, Anhui Agricultural University, Hefei 230036, China1. College of Mechanical and Control Engineering, Guilin University of Technology, Guilin 541004, China1. College of Mechanical and Control Engineering, Guilin University of Technology, Guilin 541004, ChinaDue to the different weed characteristics in peanut fields at different weeding periods, there is an urgent need to study a general model of peanut and weed detection and identification applicable to different weeding periods in order to adapt to the development of mechanical intelligent weeding in fields. To this end, we propose a BEM-YOLOv7-tiny target detection model for peanuts and weeds identification and localization at different weeding periods to achieve mechanical intelligent weeding in peanut fields at different weeding periods. The ECA and MHSA modules were used to enhance the extraction of target features and the focus on predicted targets, respectively, the BiFPN module was used to enhance the feature transfer between network layers, and the SIoU loss function was used to increase the convergence speed and efficiency of model training and to improve the detection performance of the model in the field. The experimental results showed that the precision, recall, mAP and F1 values of the BEM-YOLOv7-tiny model were improved by 1.6%, 4.9%, 4.4% and 3.2% for weed targets and 1.0%, 2.4%, 2.2% and 1.7% for all targets compared with the original YOLOv7-tiny. The experimental results of positioning error show that the peanut positioning offset error detected by BEM-YOLOv7-tiny is less than 16 pixels, and the detection speed is 33.8 f/s, which meets the requirements of real-time seedling grass detection and positioning in the field. It provides preliminary technical support for intelligent mechanical weeding in peanut fields at different stages.https://www.aimspress.com/article/doi/10.3934/mbe.2023855?viewType=HTMLpeanut and weed detectiondifferent weeding periodsbem-yolov7-tinyprecision weedingdeep learning
spellingShingle Yong Hua
Hongzhen Xu
Jiaodi Liu
Longzhe Quan
Xiaoman Wu
Qingli Chen
A peanut and weed detection model used in fields based on BEM-YOLOv7-tiny
Mathematical Biosciences and Engineering
peanut and weed detection
different weeding periods
bem-yolov7-tiny
precision weeding
deep learning
title A peanut and weed detection model used in fields based on BEM-YOLOv7-tiny
title_full A peanut and weed detection model used in fields based on BEM-YOLOv7-tiny
title_fullStr A peanut and weed detection model used in fields based on BEM-YOLOv7-tiny
title_full_unstemmed A peanut and weed detection model used in fields based on BEM-YOLOv7-tiny
title_short A peanut and weed detection model used in fields based on BEM-YOLOv7-tiny
title_sort peanut and weed detection model used in fields based on bem yolov7 tiny
topic peanut and weed detection
different weeding periods
bem-yolov7-tiny
precision weeding
deep learning
url https://www.aimspress.com/article/doi/10.3934/mbe.2023855?viewType=HTML
work_keys_str_mv AT yonghua apeanutandweeddetectionmodelusedinfieldsbasedonbemyolov7tiny
AT hongzhenxu apeanutandweeddetectionmodelusedinfieldsbasedonbemyolov7tiny
AT jiaodiliu apeanutandweeddetectionmodelusedinfieldsbasedonbemyolov7tiny
AT longzhequan apeanutandweeddetectionmodelusedinfieldsbasedonbemyolov7tiny
AT xiaomanwu apeanutandweeddetectionmodelusedinfieldsbasedonbemyolov7tiny
AT qinglichen apeanutandweeddetectionmodelusedinfieldsbasedonbemyolov7tiny
AT yonghua peanutandweeddetectionmodelusedinfieldsbasedonbemyolov7tiny
AT hongzhenxu peanutandweeddetectionmodelusedinfieldsbasedonbemyolov7tiny
AT jiaodiliu peanutandweeddetectionmodelusedinfieldsbasedonbemyolov7tiny
AT longzhequan peanutandweeddetectionmodelusedinfieldsbasedonbemyolov7tiny
AT xiaomanwu peanutandweeddetectionmodelusedinfieldsbasedonbemyolov7tiny
AT qinglichen peanutandweeddetectionmodelusedinfieldsbasedonbemyolov7tiny