Welcome to Smart Agriculture 中文

Smart Agriculture ›› 2024, Vol. 6 ›› Issue (6): 72-84.doi: 10.12133/j.smartag.SA202408008

• Topic--Intelligent Agricultural Knowledge Services and Smart Unmanned Farms(Part 1) • Previous Articles     Next Articles

Seedling Stage Corn Line Detection Method Based on Improved YOLOv8

LI Hongbo1,2(), TIAN Xin1,2(), RUAN Zhiwen1,2, LIU Shaowen1,2, REN Weiqi1,2, SU Zhongbin1,2(), GAO Rui1,2, KONG Qingming1,2   

  1. 1. Institutions of Electrical and Information, Northeast Agricultural University, Harbin 150030, China
    2. Key Laboratory of Northeast Smart Agricultural Technology, Ministry of Agriculture and Rural Affairs, Heilongjiang Province, Harbin 150030, China
  • Received:2024-08-13 Online:2024-11-30
  • Foundation items:
    The National Science and Technology Innovation 2030 of New Generation of Artificial Intelligence Major Project(2021ZD0110904)
  • About author:
    TIAN Xin, E-mail:
    LI Hongbo and TIAN Xin contributed equally to this work
  • corresponding author:
    LI Hongbo, E-mail: ;
    SU Zhongbin, E-mail:

Abstract:

[Objective] Crop line extraction is critical for improving the efficiency of autonomous agricultural machines in the field. However, traditional detection methods struggle to maintain high accuracy and efficiency under challenging conditions, such as strong light exposure and weed interference. The aims are to develop an effective crop line extraction method by combining YOLOv8-G, Affinity Propagation, and the Least Squares method to enhance detection accuracy and performance in complex field environments. [Methods] The proposed method employs machine vision techniques to address common field challenges. YOLOv8-G, an improved object detection algorithm that combines YOLOv8 and GhostNetV2 for lightweight, high-speed performance, was used to detect the central points of crops. These points were then clustered using the Affinity Propagation algorithm, followed by the application of the Least Squares method to extract the crop lines. Comparative tests were conducted to evaluate multiple backbone networks within the YOLOv8 framework, and ablation studies were performed to validate the enhancements made in YOLOv8-G. [Results and Discussions] The performance of the proposed method was compared with classical object detection and clustering algorithms. The YOLOv8-G algorithm achieved average precision (AP) values of 98.22%, 98.15%, and 97.32% for corn detection at 7, 14, and 21 days after emergence, respectively. Additionally, the crop line extraction accuracy across all stages was 96.52%. These results demonstrate the model's ability to maintain high detection accuracy despite challenging conditions in the field. [Conclusions] The proposed crop line extraction method effectively addresses field challenges such as lighting and weed interference, enabling rapid and accurate crop identification. This approach supports the automatic navigation of agricultural machinery, offering significant improvements in the precision and efficiency of field operations.

Key words: crop row detection, YOLOv8-G, backbone, affinity propagation, least square method

CLC Number: