Next Article in Journal
Climate Change Risks and Green Low-Carbon Development in Agriculture: Evidence from China on the Regulatory Role of Agricultural Insurance and Spatial Spillover Effects
Previous Article in Journal
Soybean Yield Prediction with High-Throughput Phenotyping Data and Machine Learning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Crop Row Line Detection for Rapeseed Seedlings in Complex Environments Based on Improved BiSeNetV2 and Dynamic Sliding Window Fitting

1
College of Engineering, Huazhong Agricultural University, Wuhan 430070, China
2
Key Laboratory of Agricultural Equipment in Mid-lower Yangtze River, Ministry of Agriculture and Rural Affairs, Wuhan 430070, China
*
Author to whom correspondence should be addressed.
Agriculture 2026, 16(1), 23; https://doi.org/10.3390/agriculture16010023 (registering DOI)
Submission received: 14 November 2025 / Revised: 13 December 2025 / Accepted: 18 December 2025 / Published: 21 December 2025
(This article belongs to the Section Artificial Intelligence and Digital Agriculture)

Abstract

Crop row line detection is essential for precision agriculture, supporting autonomous navigation, field management, and growth monitoring. To address the low detection accuracy of rapeseed seedling rows under complex field conditions, this study proposes a detection framework that integrates an improved BiSeNetV2 with a dynamic sliding-window fitting strategy. The improved BiSeNetV2 incorporates the Efficient Channel Attention (ECA) mechanism to strengthen crop-specific feature representation, an Atrous Spatial Pyramid Pooling (ASPP) decoder to improve multi-scale perception, and Depthwise Separable Convolutions (DS Conv) in the Detail Branch to reduce model complexity while preserving accuracy. After semantic segmentation, a Gaussian-filtered vertical projection method is applied to identify crop-row regions by locating density peaks. A dynamic sliding-window algorithm is then used to extract row trajectories, with the window size adaptively determined by the row width and the sliding process incorporating both a lateral inertial-drift strategy and a dynamically adjusted longitudinal step size. Finally, variable-order polynomial fitting is performed within each crop-row region to achieve precise extraction of the crop-row lines. Experimental results indicate that the improved BiSeNetV2 model achieved a Mean Pixel Accuracy (mPA) of 87.73% and a Mean Intersection over Union (MIoU) of 79.40% on the rapeseed seedling dataset, marking improvements of 9.98% and 8.56%, respectively, compared to the original BiSeNetV2. The crop row detection performance for rapeseed seedlings under different environmental conditions demonstrated that the Curve Fitting Coefficient (CFC), Root Mean Squared Error (RMSE), and Mean Absolute Error (MAE) were 0.85, 1.57, and 1.27 pixels on sunny days; 0.86, 2.05 and 1.63 pixels on cloudy days; 0.74, 2.89, and 2.22 pixels on foggy days; and 0.76, 1.38, and 1.11 pixels during the evening, respectively. The results reveal that the improved BiSeNetV2 can effectively identify rapeseed seedlings, and the detection algorithm can identify crop row lines in various complex environments. This research provides methodological support for crop row line detection in precision agriculture.
Keywords: unmanned aerial vehicles; rapeseed seedlings; crop line detection; image processing; semantic segmentation; BiSeNetV2 unmanned aerial vehicles; rapeseed seedlings; crop line detection; image processing; semantic segmentation; BiSeNetV2

Share and Cite

MDPI and ACS Style

Dong, W.; Wang, R.; Zeng, F.; Jiang, Y.; Zhang, Y.; Shi, Q.; Liu, Z.; Xu, W. Crop Row Line Detection for Rapeseed Seedlings in Complex Environments Based on Improved BiSeNetV2 and Dynamic Sliding Window Fitting. Agriculture 2026, 16, 23. https://doi.org/10.3390/agriculture16010023

AMA Style

Dong W, Wang R, Zeng F, Jiang Y, Zhang Y, Shi Q, Liu Z, Xu W. Crop Row Line Detection for Rapeseed Seedlings in Complex Environments Based on Improved BiSeNetV2 and Dynamic Sliding Window Fitting. Agriculture. 2026; 16(1):23. https://doi.org/10.3390/agriculture16010023

Chicago/Turabian Style

Dong, Wanjing, Rui Wang, Fanguo Zeng, Youming Jiang, Yang Zhang, Qingyang Shi, Zhendong Liu, and Wei Xu. 2026. "Crop Row Line Detection for Rapeseed Seedlings in Complex Environments Based on Improved BiSeNetV2 and Dynamic Sliding Window Fitting" Agriculture 16, no. 1: 23. https://doi.org/10.3390/agriculture16010023

APA Style

Dong, W., Wang, R., Zeng, F., Jiang, Y., Zhang, Y., Shi, Q., Liu, Z., & Xu, W. (2026). Crop Row Line Detection for Rapeseed Seedlings in Complex Environments Based on Improved BiSeNetV2 and Dynamic Sliding Window Fitting. Agriculture, 16(1), 23. https://doi.org/10.3390/agriculture16010023

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop