Hostname: page-component-74656f9884-rngvg Total loading time: 0 Render date: 2026-11-06T01:23:27.816Z Has data issue: false hasContentIssue false

Enhancing image recognition robustness in early weed detection through optimal training data curation

Published online by Cambridge University Press:  09 October 2024

Saeko Matsuhashi*
Affiliation:
Senior Scientist, Institute for Plant Protection, National Agriculture and Food Research Organization (NARO), Tsukuba, Ibaraki, Japan
Yu Oishi
Affiliation:
Principal Scientist, Research Center for Agricultural Information Technology, NARO, Tsukuba, Ibaraki, Japan
Akira Koarai
Affiliation:
Division Manager, Institute for Plant Protection, NARO, Tsukuba, Ibaraki, Japan
Ryo Sugiura
Affiliation:
Unit Leader, Research Center for Agricultural Information Technology, NARO, Memuro, Hokkaido, Japan
*
Corresponding author: Saeko Matsuhashi; Email: sae.matsuhashi@gmail.com
Rights & Permissions [Opens in a new window]

Abstract

Using convolutional neural networks (CNNs) for image recognition is effective for early weed detection. However, the impact of training data curation, specifically concerning morphological changes during the early growth phases of weeds, on recognition robustness remains unclear. We focused on four weed species (giant ragweed [Ambrosia trifida L.], red morningglory [Ipomoea coccinea L.], pitted morningglory [Ipomoea lacunosa L.], and burcucumber [Sicyos angulatus L.]) with varying cotyledon and true leaf shapes. Creating 16 models in total, we employed four dataset patterns with different growth stage combinations, two image recognition algorithms (object detection: You Look Only Once [YOLO] v5 and image classification: Visual Geometry Group [VGG] 19), and two conditions regarding the number of species treated (four and two species). We evaluated the effects of growth stage training on weed recognition success using two datasets. One evaluation revealed superior results with a single class/species training dataset, achieving >90% average precision for detection and classification accuracy under most conditions. The other dataset revealed that merging different growth stages with different shapes as a class effectively prevented misrecognition among different species when using YOLOv5. Both results suggest that integrating different shapes in a plant species as a single class is effective for maintaining robust recognition success amid temporal morphological changes during the early growth stage. This finding not only enhances early detection of weed seedlings but also bolsters the robustness of general plant species identification.

Information

Type
Research Article
Copyright
© The Author(s), 2024. Published by Cambridge University Press on behalf of Weed Science Society of America
Figure 0

Figure 1. Target species and class patterns used in the training datasets.

Figure 1

Figure 2. Study design. Note that Sicyos angulatus was not used in Evaluation 2, because its cultivation is not permitted in Japan. YOLOv5, You Look Only Once v5; VGG19, Visual Geometry Group 19.

Figure 2

Figure 3. Evaluation 1 results under You Look Only Once [YOLO] v5 and Visual Geometry Group [VGG] 19 for four and two weed species. Each algorithm was applied to four training datasets with different class definitions as follows: (A) one class/species, treating growth Stages 1 (target with only cotyledons), 2 (cotyledons and one or two true leaves), and 3 (only true leaves) as a single class; (B) two classes/species, treating Stages 2 and 3 as a class; (C) two classes/species, treating Stages 1 and 2 as a class; and (D) three classes/species, treating each stage as a different class.

Figure 3

Figure 4. Evaluation 2 time-series detection results under You Look Only Once [YOLO] v5. A, B, C, and D indicate class patterns in training datasets. When the number of leaves is two, this corresponds to Stage 1 (only cotyledons). When the number of leaves is three or four, this corresponds to Stage 2 (cotyledons and one or two true leaves). When the number of leaves is 2.5, this indicates half-grown true leaves. Note that Sicyos angulatus was not used in Evaluation 2, because its cultivation is not permitted in Japan.

Figure 4

Figure 5. Evaluation 2 time-series detection results under Visual Geometry Group [VGG] 19. A, B, C, and D indicate class patterns in training datasets. When the number of leaves is two, this corresponds to Stage 1 (only cotyledons). When the number of leaves is three or four, this corresponds to Stage 2 (cotyledons and one or two true leaves). When the number of leaves is 2.5, this indicates half-grown true leaves. Note that Sicyos angulatus was not used in Evaluation 2, because its cultivation is not permitted in Japan.

Figure 5

Figure 6. Examples from Evaluation 2 of You Look Only Once [YOLO] v5–based detection and gradient-weighted class activation mapping (GradCAM)-generated heat maps indicating Visual Geometry Group [VGG] 19–based classification. Note that Sicyos angulatus was not used in Evaluation 2, because its cultivation is not permitted in Japan.

Supplementary material: File

Matsuhashi et al. supplementary material 1

Matsuhashi et al. supplementary material
Download Matsuhashi et al. supplementary material 1(File)
File 9.3 KB
Supplementary material: File

Matsuhashi et al. supplementary material 2

Matsuhashi et al. supplementary material
Download Matsuhashi et al. supplementary material 2(File)
File 112.4 KB
Supplementary material: File

Matsuhashi et al. supplementary material 3

Matsuhashi et al. supplementary material
Download Matsuhashi et al. supplementary material 3(File)
File 235.8 KB