GRAFT: Generative Regularization and Attended Foreground Transfer for Multi-Farm Unsupervised Domain Adaptation in Cabbage Detection Dataset

Published: 20 October 2026| Version 1 | DOI: 10.17632/z5mjpnf348.1
Contributor:
Andy Desman Lo

Description

This dataset provides two annotated test sets for evaluating cabbage (Brassica oleracea var. capitata) head detectors on farms that were not seen during training. It was created to evaluate unsupervised domain adaptation, in which a detector trained on a small labeled source dataset is adapted to new farms using unlabeled target images. The annotations are intended for evaluation only. Multi-farm set. 41 RGB images collected from publicly available web sources, one image from each of 41 cabbage farms, with 1,053 annotated cabbage heads. The set contains 10 aerial and 31 ground-level views and varies in lighting, soil appearance, cabbage variety, and camera characteristics. Single-farm set. 61 RGB photographs taken with a smartphone by a grower in their own field [location, month/year], with 1,630 annotated cabbage heads. No camera angle or framing was prescribed, to reflect how a grower would take photographs during routine use. Annotations. One class (cabbage). Each visible cabbage head is labeled with an axis-aligned bounding box in YOLO format: one .txt file per image, with one line per object (class, x_center, y_center, width, height, normalized to 0–1). Fold assignments. Two-fold splits for held-out evaluation are provided. Multi-farm: 21 and 20 farms, stratified by viewpoint (five aerial farms in each fold). Single-farm: 31 and 30 images. Sparse labels. 30 boxes on the first 10 single-farm images (three per image), used for the optional sparse-label variant.

Files

Institutions

Categories

Deep Learning, Agriculture

Licence