Abstract
Leaf pubescence is an important trait associated with plant responses to environmental stress. In soybean (Glycine max), it is involved in resistance to drought, pests and soybean mosaic virus; in wheat (Triticum aestivum), trichomes are structurally similar to those of soybean and also have protective functions. Here, a deep learning approach for automated trichome counting in RGB images of soybean and wheat leaf folds is proposed. Three datasets (Wheat, Soybean protocol 1 and Soybean protocol 2; 571 images with polygon annotations of 15,474 trichomes) and more than 5500 unlabeled images were collected. Three deep learning approaches were evaluated on a soybean test set (42 images, 1450 trichomes): U-Net semantic segmentation with geometric post-processing and instance segmentation with YOLO26-seg and RF-DETR-Seg. RF-DETR-Seg performed best on soybean (F1 = 0.972), also when compared with a YOLO26-seg model of similar size. For transfer to wheat, models were trained on soybean images only or on joint soybean and wheat images; adding wheat images did not change the accuracy on soybean, and the models trained on the joint dataset reached F1 = 0.89–0.90 on wheat. Self-supervised pre-training by DINOv3 knowledge distillation did not improve accuracy for either species. Processing one image on a graphics processor took 39–52 ms with YOLO26-seg and 119–134 ms with RF-DETR-Seg, making large-scale analysis feasible.
Keywords:
soybean; wheat; leaf pubescence; trichomes; deep learning; instance segmentation; transfer learning; YOLO26; RF-DETR