← Papers

Paper record

Automatic Polygon Annotation of Plant Objects for Training Dataset Preparation in Green Biomass Segmentation Tasks.

Evgeniy Ivliev · Valery Gvindjiliya · Danila Donskoy · Yevgeniy Chayka

Journal of Imaging · 30 Apr 2026 · 10.3390/jimaging12050192

Abstract

This paper addresses the problem of automated segmentation of plant green biomass in field crop images aimed at improving the accuracy of crop and weed identification. To construct a training dataset for neural network models, an automatic annotation algorithm is proposed, enabling the generation of polygonal object masks without human intervention. The method is based on adaptive analysis of color characteristics of plant fragments with iterative narrowing of the hue range in the HSV color space, combined with an integral quality metric that accounts for the dynamics of contour area and shape. The proposed method achieved an IoU of 93.22% and a DSC of 96.30%, demonstrating a high level of agreement between automatic and manual annotations. The generated masks are used to train segmentation models of the YOLO11-seg family. Models of different scales (n, s, m, l, x) were trained and evaluated using standard metrics, including Intersection over Union (IoU), mAP@0.5, mAP@0.5–0.95, F1-score, and Precision–Recall (PR) curves. Experimental results demonstrate that models trained on automatically generated annotations achieve stable segmentation performance of plant green biomass. The best results were obtained with the YOLO11m-seg model, achieving an F1-score of 0. 772. The results confirm the effectiveness of the proposed approach and demonstrate acceptable segmentation quality, supported by both quantitative metrics and visual analysis. The developed automatic annotation algorithm can be used to expand training datasets in computer vision tasks for agricultural applications.

Code and data availability

The authors publicly released the paper-specific generated dataset of polygonal segmentation annotations (masks and supporting materials) on Hugging Face. CVAT is only a generic annotation tool, and no author analysis code or trained model checkpoints are explicitly deposited.

Datasetpublic

The generated dataset with polygonal segmentation annotations of crop and weed plants, produced using the proposed algorithm and based on the LincolnBeet Dataset, is publicly available on Hugging Face at: https://huggingface.co/datasets/ivliev123/polygonal_marking_plant_objects

Open resource ↗Hugging Face · ivliev123/polygonal_marking_plant_objects · html-lines:438-462