oishee3003 commited on
Commit
ae12898
·
verified ·
1 Parent(s): 154adb5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +67 -38
README.md CHANGED
@@ -1,48 +1,68 @@
1
  ---
2
  license: cc-by-4.0
3
- language:
4
- - en
5
  tags:
6
  - remote-sensing
7
  - satellite-imagery
8
- - cafo
9
- - bounding-box
10
  - multi-label
11
- - cafo infrastructure
12
  dataset_type: image-classification
13
- pretty_name: CAFO Infra Dataset
14
  size_categories:
15
  - 10K<n<100K
16
  ---
17
 
 
 
 
 
18
  ---
19
 
 
20
 
21
- # CAFO Infra Dataset (CAFOSat)
22
 
23
- This dataset contains high-resolution satellite image patches used for identifying and analyzing Concentrated Animal Feeding Operations (CAFOs). It includes a mix of manually verified samples, augmented images, and geospatial metadata.
 
 
 
 
24
 
25
- ## Dataset Structure
26
 
27
- The dataset is organized into compressed `.tar.gz` files by category:
 
 
 
 
 
28
 
29
- - `STATE_filtered.tar.gz`: Original patches per U.S. state (e.g., `IA_filtered.tar.gz`, `AL_filtered.tar.gz`)
30
- - `negative_samples.tar.gz`: Negative (non-CAFO) examples
31
- - `barn.tar.gz`, `manure_pond.tar.gz`, `others.tar.gz`: Augmented samples by infrastructure type
 
32
 
33
- All metadata, including image paths, labels, bounding boxes, and infrastructure flags, are stored in:
34
 
35
- - `cafosat.csv`
36
 
37
  ## Features
38
 
39
- Each sample includes:
 
 
 
 
 
 
 
 
 
 
 
40
 
41
- - `patch_file`: Path to the image inside a `.tar.gz` archive (e.g., `IA_filtered.tar.gz::IA_filtered/crop_4517_patch_123.tif`)
42
- - `label`: Integer class label (`0`: Negative, `1–6`: Livestock type)
43
- - `barn`, `manure_pond`, `grazing_area`, `others`: Binary infrastructure flags
44
- - `geom_bbox`: Bounding box for CAFO-related infrastructure
45
- - `cafosat_*_train/test/val`: Split flags for multiple dataset configurations
46
 
47
  ## Labels
48
 
@@ -56,34 +76,43 @@ Each sample includes:
56
  | 5 | Horses |
57
  | 6 | Sheep/Goats |
58
 
 
 
59
  ## Splits
60
 
61
- This dataset includes multiple experimental splits defined in the CSV:
62
- - `cafosat_verified_training`
63
- - `cafosat_all_training`
64
- - `cafosat_augmented_training`
65
- - `cafosat_training_set1` / `set2`
66
- - `cafosat_merged_training`
67
 
68
- Each split column (e.g. `cafosat_verified_training_train`) is binary (`1` if the patch belongs to the split, else `0`).
 
 
 
 
69
 
70
- ## Intended Use
71
 
72
- The dataset is intended for:
73
- - CAFO detection and infrastructure classification
74
- - Environmental monitoring
75
- - Weak supervision and remote sensing research
76
 
77
- ## Licensing
78
 
79
- This dataset is licensed under the **Creative Commons Attribution 4.0 International (CC BY 4.0)** license.
80
- You are free to share and adapt the data, even commercially, as long as you give appropriate credit.
 
 
81
 
82
- [View full license](https://creativecommons.org/licenses/by/4.0/)
83
 
84
  ## Citation
85
 
86
- TBD
 
 
 
 
 
 
 
 
 
87
 
88
  ## Contact
89
 
 
1
  ---
2
  license: cc-by-4.0
 
 
3
  tags:
4
  - remote-sensing
5
  - satellite-imagery
6
+ - agriculture
7
+ - classification
8
  - multi-label
9
+ - bounding-box
10
  dataset_type: image-classification
11
+ pretty_name: CAFOSat Dataset
12
  size_categories:
13
  - 10K<n<100K
14
  ---
15
 
16
+ # CAFOSat: CAFO Infrastructure Dataset
17
+
18
+ CAFOSat is a remote sensing dataset designed for identifying and classifying Concentrated Animal Feeding Operations (CAFOs) across various U.S. states. It includes high-resolution image patches, infrastructure annotations, bounding boxes, and experimental train-test splits for multiple configurations.
19
+
20
  ---
21
 
22
+ ## Dataset Structure
23
 
24
+ The dataset is organized into extracted folders originally packaged as `.tar.gz` files:
25
 
26
+ - `STATE_filtered/`: Original patches per U.S. state
27
+ (e.g., `IA_filtered/`, `AL_filtered/`)
28
+ - `negative_samples/`: Verified non-CAFO examples
29
+ - `barn/`, `manure_pond/`, `others/`: Augmented synthetic patches by infrastructure type
30
+ - `cafosat.csv`: Master metadata file with labels, bounding boxes, and split flags
31
 
32
+ All image paths referenced in the CSV point to these extracted folders.
33
 
34
+ ---
35
+
36
+ ## 🔖 Image File Reference (`patch_file`)
37
+
38
+ Each row in the metadata includes a `patch_file` field that provides the relative path to the associated image file.
39
+ Each `patch_file` is a pointer into a compressed archive using Hugging Face's streaming format:
40
 
41
+ Example:
42
+ -`IA_filtered.tar.gz::IA_filtered/crop_4517_patch_10147_Swine_Nursery_IA.tif`
43
+ - `barn.tar.gz::`barn/aug_patch_00123.tif`
44
+ - `negative_sample.tar.gz::`barn/neg_patch_00098.tif`
45
 
46
+ This format indicates the image is located inside `IA_filtered.tar.gz` under the subpath shown. This field is automatically interpreted by Hugging Face as an image using the `datasets.Image()` feature, so image previews and loading work out of the box.
47
 
48
+ ---
49
 
50
  ## Features
51
 
52
+ | Column | Description |
53
+ |---------------|-------------------------------------------------------|
54
+ | `patch_file` | Path to the image file |
55
+ | `label` | Integer label for class (0–6) |
56
+ | `barn`, `manure_pond`, `grazing_area`, `others` | Binary infra flags |
57
+ | `geom_bbox` | Bounding box coordinates `[x1, y1, x2, y2]` |
58
+ | `category` | Class name (e.g., Swine, Dairy) |
59
+ | `state` | U.S. state of the patch |
60
+ | `verified_label` | Human-verified CAFO type |
61
+ | `CAFO_UNIQUE_ID` | Unique identifier for facility |
62
+ | `image_type` | `original`, `augmented`, `negative`, etc. |
63
+ | `split columns` | Flags for different train/test/val splits |
64
 
65
+ ---
 
 
 
 
66
 
67
  ## Labels
68
 
 
76
  | 5 | Horses |
77
  | 6 | Sheep/Goats |
78
 
79
+ ---
80
+
81
  ## Splits
82
 
83
+ Multiple experimental train-test split columns are provided in the CSV:
 
 
 
 
 
84
 
85
+ - `cafosat_verified_training_train`, `cafosat_verified_training_test`, `cafosat_verified_training_val`
86
+ - `cafosat_all_training_*`
87
+ - `cafosat_training_set1_*`, `set2_*`
88
+ - `cafosat_merged_training_*`
89
+ - `cafosat_augmented_training_*`
90
 
91
+ Each flag is a binary indicator (`1` = in split, `0` = excluded).
92
 
93
+ ---
 
 
 
94
 
95
+ ## Intended Use
96
 
97
+ - CAFO detection and classification
98
+ - Agricultural infrastructure mapping
99
+ - Weak supervision, semi-supervised learning
100
+ - Remote sensing benchmark development
101
 
102
+ ---
103
 
104
  ## Citation
105
 
106
+ *TBD
107
+
108
+ ---
109
+
110
+ ## License
111
+
112
+ This dataset is released under the [CC BY 4.0 License](https://creativecommons.org/licenses/by/4.0/).
113
+
114
+ You are free to share, use, and adapt the data with attribution.
115
+
116
 
117
  ## Contact
118