CAFOSat Livestock Facility Patch Annotation
Label the facility type and count barns and manure ponds on aerial patches with radio and number schemes. The eight patches are real CAFOSat images.
Get This Design
Clone or download from the repository
Quick start:
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/image/aerial/cafosat-livestock-facility-patches
potato start config.yamlAbout this dataset
CAFOSat is a dataset of high-resolution aerial patches centered on concentrated animal feeding operations in the United States, with labels at the facility and the infrastructure level. The paper by Hoque, Mandal, Wilson, Swarup, Marathe, and Adiga appeared at the EarthVision workshop at CVPR 2026. The paper does not say who verified and annotated the patches.
Each verified patch carries a facility label (Swine, Poultry, Dairy, Beef, Horses, Sheep/Goats, or Negative) and infrastructure annotations, namely the counts of visible barns and manure ponds and the presence or absence of grazing areas and other non-barn structures. The design reproduces those five questions with a radio scheme, two number schemes, and two further radio schemes. The paper also verified each patch first with a binary CAFO or non-CAFO label, and the design folds that step into the Negative option. The question wording is written for this design, because the paper gives no guideline.
The eight sample patches are real RGB patches from five state archives, shipped under the dataset's CC BY 4.0 license, and their labels are not included. The CSV that comes with the dataset marks five of the eight as verified CAFO, one as Not CAFO, and two without a verification flag. The paper gives 0.6 m per pixel for the dataset, while the CSV records 0.3 m for seven of these eight patches, so the interface states no resolution. No model_training block is set.
- Facility labels
- 7, including Negative
- Manually verified patches
- 4,513
- Infrastructure labels
- barn count, manure pond count, grazing area, other structures
- Items in this design
- 8 real patches
Configuration File
This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
# CAFOSat: livestock facility type and infrastructure counts on aerial patches (EarthVision workshop at CVPR 2026)
#
# Paper: Hoque et al., "CAFOSat: A Strongly Annotated Dataset for Infrastructure-Aware CAFO Mapping Using
# High-Resolution Imagery", CVPR 2026 Workshops (EarthVision: Large Scale Computer Vision for Remote Sensing Imagery workshop), arXiv doi 10.48550/arXiv.2606.00548
# Data: https://huggingface.co/datasets/oishee3003/CAFOSat (card: license cc-by-4.0) and
# https://github.com/oishee-hoque/CAFOSat. The eight patches are NAIP aerial imagery (833 x 833 px) taken from
# the dataset's state archives (CA, FL, ID, LA, WA), RGB only, resized to 800 px and re-encoded as JPEG.
# The paper gives 0.6 m per pixel for the dataset, but the patch_res column of CAFOSat.csv says 0.3 for
# seven of the eight sample patches, so the interface does not state a resolution. Sample patches are not
# all verified positives: in the CSV, five carry verified_label "CAFO", one (crop_13_patch_12_dairy_FL,
# cafosat_010) carries "Not CAFO", and two (cafosat_004 and _005) have no verification flag. Two further
# patches in the original draft (WA, crop_9_patch_9 and crop_11_patch_2) match no row of the CSV and were removed.
# Protocol (paper section 3 and supplement C): each verified sample carries "a facility-level classification label
# (Swine, Poultry, Dairy, Beef, Horses, Sheep/Goats, or Negative)" and "infrastructure-level annotations:
# we manually count the number of visible barns and manure ponds, and record the presence or absence of
# grazing areas and other non-barn structures." 4,513 patches were manually verified; the supplement's
# Figure S2 shows the verification setup.
# Adaptations: the paper does not give question wording or a guideline, so the questions are written for this design.
# The released dataset also has bounding boxes for the inpainted synthetic patches; this design leaves them out.
# The paper also verified each patch first with a binary CAFO / non-CAFO label ("manually verified and annotated
# using binary labels (CAFO or non-CAFO)"); this design folds that into the "Negative" option. The paper does not say
# who the annotators were. Curated negative patches from non-CAFO land are in the dataset but not in the sample.
annotation_task_name: "CAFOSat patch verification"
data_files:
- sample-data.json
item_properties:
id_key: id
text_key: image_url
# The file names carry a weak livestock label from the source archive, and several disagree with the
# refined category (some "beef" files are poultry), so they stay out of the annotator's page data.
private_keys: [source_file]
task_dir: .
output_annotation_dir: annotation_output
export_annotation_format: jsonl
media_directory: media
user_config:
allow_all_users: true
instance_display:
fields:
- key: image_url
type: image
label: "Aerial patch (NAIP imagery)"
display_options:
max_width: 760
zoomable: true
alt_text: "Aerial patch centered on a possible concentrated animal feeding operation"
annotation_schemes:
- annotation_type: radio
name: facility_type
description: "Which kind of facility does the patch show?"
labels:
- Swine
- Poultry
- Dairy
- Beef
- Horses
- Sheep/Goats
- Negative
- annotation_type: number
name: barn_count
description: "How many barns are visible?"
min_value: 0
max_value: 100
- annotation_type: number
name: manure_pond_count
description: "How many manure ponds are visible?"
min_value: 0
max_value: 50
- annotation_type: radio
name: grazing_area
description: "Is a grazing area present?"
labels:
- present
- absent
- annotation_type: radio
name: other_structures
description: "Are other non-barn structures present?"
labels:
- present
- absent
annotation_instructions: |
Each patch is centered on a location from a state inventory of concentrated animal feeding operations (CAFOs).
Mark "Negative" when the patch shows no such facility. Count barns and manure ponds one by one.
Sample Data
[
{
"id": "cafosat_001",
"image_url": "/media/cafosat_001.jpg",
"state": "CA",
"source_file": "crop_1_patch_4_Broiler chicken production, _CA.tif"
},
{
"id": "cafosat_002",
"image_url": "/media/cafosat_002.jpg",
"state": "FL",
"source_file": "crop_1_patch_37_dairy_FL.tif"
}
]
// ... and 6 more itemsGet This Design
Clone or download from the repository
Quick start:
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/image/aerial/cafosat-livestock-facility-patches
potato start config.yamlDataset & paper
Hoque et al., CVPR 2026 Workshops (EarthVision)
- Paper DOI
- 10.48550/arXiv.2606.00548
Citation (BibTeX)
@misc{hoque2026cafosat,
doi = {10.48550/ARXIV.2606.00548},
url = {https://arxiv.org/abs/2606.00548},
author = {Hoque, Oishee Bintey and Mandal, Nibir Chandra and Wilson, Mandy L and Swarup, Samarth and Marathe, Madhav and Adiga, Abhijin},
title = {CAFOSat: A Strongly Annotated Dataset for Infrastructure-Aware CAFO Mapping Using High-Resolution Imagery},
publisher = {arXiv},
year = {2026},
copyright = {Creative Commons Attribution 4.0 International}
}Details
Annotation Types
Domain
Use Cases
Tags
Found an issue or want to improve this design?
Open an Issue(opens in a new tab)Related Designs
BIG-Bench Task Evaluation
Evaluate language model responses on diverse reasoning tasks from the BIG-Bench benchmark. Annotators assess correctness, provide reasoning explanations, and rate confidence for model outputs across multiple task categories.
DOTA Aerial Image Object Detection
Oriented bounding box detection in aerial images (Xia et al., CVPR 2018). Detect 15 object categories with arbitrary orientations including planes, ships, vehicles, and sports facilities.
FLAIR: French Land Cover from Aerospace Imagery
Land use and land cover classification from high-resolution aerial imagery. Annotators classify the primary land use category of aerial image patches and identify any secondary land uses present. Based on the FLAIR dataset from the French National Institute of Geographic and Forest Information (IGN).