Field detection and counting of oilseed flax plants at the fir-tree stage using an improved YOLOv8m model
Counting oilseed flax plants at the fir-tree stage supports stand density assessment and seedling surveys. Manual counting is laborious and prone to omissions and duplicate counts in dense stands. Automated counting is challenging because plants occupy few pixels, vary in size, overlap, and occur against complex backgrounds. We developed an improved YOLOv8m model for plant detection and counting from individual field images. DualBranchWCTAM_Convoy was incorporated into the backbone to enhance local geometric feature extraction. In the neck, Biff_Weighted replaced cross-layer concatenation with channel-wise weighted feature fusion. VoVGSCSP_SKA was deployed after each fusion node to deceptively refine features with different receptive fields. On a custom data set containing 1,776 field images, the model achieved 95.8% precision, 94.8% recall, and an F1 score of 95.30%. Mean average precision at an intersection-over-union threshold of 0.50 (mAP50) reached 94.5%, while mAP averaged over thresholds from 0.50 to 0.95 (mAP50–95) reached 52.8%. These values exceeded the baseline by 4.1 and 10.7 percentage points, respectively. On five independent external images, counts were compared with the mean counts of three agronomy experts. The mean absolute percentage error was 0.94%, and every image had a counting error below 3%. These results support the use of the proposed model for flax stand surveys under the evaluated field conditions.
Authors
- Junying Han (ORCID: https://orcid.org/0000-0001-9405-279X)
- Chengzhong Liu (ORCID: https://orcid.org/0000-0002-6130-7773)
- ZiLiang Min
Institutions
- Gansu Agricultural University (CN)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-30
- DOI
- https://doi.org/10.21203/rs.3.rs-11819398/v1
- Primary Topic
- Smart Agriculture and AI
- Type
- preprint