Field cabbage detection and positioning system based on improved YOLOv8n
Authors:
Open Access
- 20 June 2024
- journal article
- research article
- Published by Springer Nature in Plant Methods
- Vol. 20 (1) , 1-15
Abstract
Background: Pesticide efficacy directly affects crop yield and quality, making targeted spraying a more environmentally friendly and effective method of pesticide application. Common targeted cabbage spraying methods often involve object detection networks. However, complex natural and lighting conditions pose challenges in the accurate detection and positioning of cabbage. Results: In this study, a cabbage detection algorithm based on the YOLOv8n neural network (YOLOv8-cabbage) combined with a positioning system constructed using a Realsense depth camera is proposed. Initially, four of the currently available high-performance object detection models were compared, and YOLOv8n was selected as the transfer learning model for field cabbage detection. Data augmentation and expansion methods were applied to extensively train the model, a large kernel convolution method was proposed to improve the bottleneck section, the Swin transformer module was combined with the convolutional neural network (CNN) to expand the perceptual field of feature extraction and improve edge detection effectiveness, and a nonlocal attention mechanism was added to enhance feature extraction. Ablation experiments were conducted on the same dataset under the same experimental conditions, and the improved model increased the mean average precision (mAP) from 88.8% to 93.9%. Subsequently, depth maps and colour maps were aligned pixelwise to obtain the three-dimensional coordinates of the cabbages via coordinate system conversion. The positioning error of the three-dimensional coordinate cabbage identification and positioning system was (11.2 mm, 10.225 mm, 25.3 mm), which meets the usage requirements. Conclusions: We have achieved accurate cabbage positioning. The object detection system proposed here can detect cabbage in real time in complex field environments, providing technical support for targeted spraying applications and positioning.Keywords
Funding Information
- Hunan Province Key areas research and development Plan project (2023NK2010)
- Science Research Project of Hunan Provincial Department of Education (22C0079)
- Research Project of Hunan Agricultural University Degree and Postgraduate Teaching Reform (XJG2023033)
- Teaching Reform Research Project of Hunan Agricultural University (XJJG2023025)
This publication has 26 references indexed in Scilit:
- A comparison between Pixel-based deep learning and Object-based image analysis (OBIA) for individual detection of cabbage plants based on UAV Visible-light imagesComputers and Electronics in Agriculture, 2023
- UAV-based weed detection in Chinese cabbage using deep learningSmart Agricultural Technology, 2023
- Exploring Plain Vision Transformer Backbones for Object Detection2022
- Development and evaluation of a low-cost and smart technology for precision weed management utilizing artificial intelligenceComputers and Electronics in Agriculture, 2019
- Current and future applications of statistical machine learning algorithms for agricultural machine vision systemsComputers and Electronics in Agriculture, 2019
- Unsupervised detection of vineyards by 3D point-cloud UAV photogrammetry for precision agricultureComputers and Electronics in Agriculture, 2018
- SSD: Single Shot MultiBox Detector2016
- Microsoft COCO: Common Objects in Context2014
- Plant detection and mapping for agricultural robots using a 3D LIDAR sensorRobotics and Autonomous Systems, 2011
- Evaluation of ultrasonic sensor for variable-rate spray applicationsComputers and Electronics in Agriculture, 2011