Datasets:
Upload dataset archives
Browse files- README.md +69 -0
- augmented_images.tar.gz +3 -0
- feature_crops.tar.gz +3 -0
- features/GridMean_0216.csv +0 -0
- features/feature_0216.csv +0 -0
- features/unique_colors.csv +141 -0
- generalization_test.png +3 -0
- raw_photos.tar.gz +3 -0
- yolo_card_dataset.tar.gz +3 -0
- yolo_labeled_card.tar.gz +3 -0
- yolo_labeled_patterns.tar.gz +3 -0
- yolo_pattern_dataset.tar.gz +3 -0
README.md
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language: en
|
| 4 |
+
tags:
|
| 5 |
+
- image
|
| 6 |
+
- color-calibration
|
| 7 |
+
- object-detection
|
| 8 |
+
- yolo
|
| 9 |
+
size_categories:
|
| 10 |
+
- 1K<n<10K
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# Card Calibration Dataset (v1)
|
| 14 |
+
|
| 15 |
+
255 hand-collected photos of color calibration cards, with augmentations,
|
| 16 |
+
YOLO annotations, and extracted feature crops.
|
| 17 |
+
|
| 18 |
+
Used to train [`jeffliulab/card-calibration-v1`](https://huggingface.co/jeffliulab/card-calibration-v1).
|
| 19 |
+
Live demo: [`jeffliulab/card-calibration-v1` Space](https://huggingface.co/spaces/jeffliulab/card-calibration-v1).
|
| 20 |
+
|
| 21 |
+
## Contents
|
| 22 |
+
|
| 23 |
+
| Archive | Files | Description |
|
| 24 |
+
|---|---|---|
|
| 25 |
+
| `raw_photos.tar.gz` | 255 | Original hand-collected photos |
|
| 26 |
+
| `augmented_images.tar.gz` | 2,294 | Albumentations-augmented variants (brightness/hue/blur/etc) |
|
| 27 |
+
| `feature_crops.tar.gz` | 9,154 | Center-region patch crops (4 patches × ~2,294 images) |
|
| 28 |
+
| `yolo_card_dataset.tar.gz` | 510 | YOLO stage-1 training set (card detection) |
|
| 29 |
+
| `yolo_pattern_dataset.tar.gz` | 510 | YOLO stage-2 training set (pattern detection) |
|
| 30 |
+
| `yolo_labeled_card.tar.gz` | 510 | Raw YOLO annotations (stage 1) |
|
| 31 |
+
| `yolo_labeled_patterns.tar.gz` | 510 | Raw YOLO annotations (stage 2) |
|
| 32 |
+
| `generalization_test.png` | 1 | Held-out generalization test photo |
|
| 33 |
+
| `features/feature_0216.csv` | 1 | Final training feature CSV (12-D + target) |
|
| 34 |
+
| `features/GridMean_0216.csv` | 1 | Intermediate grid mean values |
|
| 35 |
+
| `features/unique_colors.csv` | 1 | Unique color reference values |
|
| 36 |
+
|
| 37 |
+
## Usage
|
| 38 |
+
|
| 39 |
+
The companion repo provides a one-command download script:
|
| 40 |
+
|
| 41 |
+
```bash
|
| 42 |
+
git clone https://github.com/jeffliulab/Color_Calibration.git
|
| 43 |
+
cd Color_Calibration
|
| 44 |
+
python scripts/dataset_download.py
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
This downloads all archives and extracts them into `data/` matching the layout
|
| 48 |
+
expected by the training scripts in `src/`.
|
| 49 |
+
|
| 50 |
+
## Manual download
|
| 51 |
+
|
| 52 |
+
```python
|
| 53 |
+
from huggingface_hub import snapshot_download
|
| 54 |
+
snapshot_download(
|
| 55 |
+
repo_id="jeffliulab/card-calibration-v1-data",
|
| 56 |
+
repo_type="dataset",
|
| 57 |
+
local_dir="./dataset_cache",
|
| 58 |
+
)
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
## Known issues
|
| 62 |
+
|
| 63 |
+
6 augmented feature crop files are missing (gsutil transfer failures during
|
| 64 |
+
the migration from GCS). These are non-critical center-region crops and do not
|
| 65 |
+
affect training or evaluation.
|
| 66 |
+
|
| 67 |
+
## License
|
| 68 |
+
|
| 69 |
+
MIT — both data and code are freely available for research and commercial use.
|
augmented_images.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:414eac5ed0f4355203bf484d98809af8f3af0246707fc221050ef46bb72d83e4
|
| 3 |
+
size 186699087
|
feature_crops.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:318f745d3a45832e3221cb2d650922f6f55e1943f66548f65e4b6bd455ff0851
|
| 3 |
+
size 26223765
|
features/GridMean_0216.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
features/feature_0216.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
features/unique_colors.csv
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
color_code,search_code,real_r,real_g,real_b
|
| 2 |
+
7001_21,7001_21,247,238,234
|
| 3 |
+
8002_9c,8002_9c,239, 174, 167
|
| 4 |
+
6004_1A,6004_1A,234, 232, 225
|
| 5 |
+
2002_4B,2002_4B,239, 184, 184
|
| 6 |
+
1004_4C,1004_4C,238, 215, 226
|
| 7 |
+
8002_2c,8002_2c,218, 189, 214
|
| 8 |
+
1008_6C,1008_6C,241, 208, 207
|
| 9 |
+
8002_1A,8002_1A,231, 224, 233
|
| 10 |
+
7001_19,7001_19,228, 213, 207
|
| 11 |
+
P370_motion,none,none,none,none
|
| 12 |
+
8002_12B,8002_12B,236, 187, 168
|
| 13 |
+
7002_10,7002_10,244, 230, 210
|
| 14 |
+
8002_2B,8002_2B,223, 196, 216
|
| 15 |
+
2001_4B,2001_4B,235, 189, 190
|
| 16 |
+
1006_6C,1006_6C,239, 220, 222
|
| 17 |
+
1001_4B,1001_4B,209, 195, 219
|
| 18 |
+
1008_6a,1008_6a,208, 144, 145
|
| 19 |
+
2002_6B,2002_6B,221, 153, 141
|
| 20 |
+
4005_7A,4005_7A,227, 236, 240
|
| 21 |
+
8002_12C,8002_12C,222, 158, 133
|
| 22 |
+
2001_6C,2001_6C,243, 205, 202
|
| 23 |
+
1006_6B,1006_6B,224, 196, 204
|
| 24 |
+
1004_3C,1004_3C,203, 152, 178
|
| 25 |
+
2001_6B,2001_6B,235, 179, 176
|
| 26 |
+
2003_6B,2003_6B,233, 165, 140
|
| 27 |
+
1008_4B,1008_4B,231, 181, 189
|
| 28 |
+
P350_clahe,none,none,none,none
|
| 29 |
+
7003_10,7003_10,232, 216, 189
|
| 30 |
+
1008_4a,1008_4a,218, 147, 155
|
| 31 |
+
2001_5c,2001_5c,217, 136, 131
|
| 32 |
+
2011_4,2011_4,166, 71, 64
|
| 33 |
+
2002_3B,2002_3B,200, 99, 97
|
| 34 |
+
2002_6a,2002_6a,207, 131, 116
|
| 35 |
+
2002_6C,2002_6C,236, 184, 174
|
| 36 |
+
1011_shadow,none,none,none,none
|
| 37 |
+
8007_3E,8007_3E,221, 229, 230
|
| 38 |
+
P440_gaussian,none,none,none
|
| 39 |
+
1001_4A,1001_4A,185, 169, 200
|
| 40 |
+
8002_9B,8002_9B,238, 194, 187
|
| 41 |
+
8002-8F_gamma,8002-8F,151, 58, 60
|
| 42 |
+
1006_6a,1006_6a,205, 164, 175
|
| 43 |
+
1002_4B,1002_4B,227, 209, 223
|
| 44 |
+
8002_10A,8002_10A,249, 217, 208
|
| 45 |
+
1004_4b,1004_4b,234, 200, 217
|
| 46 |
+
8002_7c,8002_7c,234, 168, 168
|
| 47 |
+
2003_6C,2003_6C,242, 201, 186
|
| 48 |
+
P480_motion,none,none,none,none
|
| 49 |
+
8002_9A,8002_9A,241, 217, 211
|
| 50 |
+
P350_motion,none,none,none,none
|
| 51 |
+
7002_17,7002_17,249, 231, 215
|
| 52 |
+
1008_3C,1008_3C,202, 121, 131
|
| 53 |
+
1008_5C,1008_5C,188, 123, 126
|
| 54 |
+
8002-1B_rotate,8002-1B,216, 202, 223
|
| 55 |
+
2001_3C,2001_3C,218, 130, 131
|
| 56 |
+
8002-8F_clahe,8002-8F,151, 58, 60
|
| 57 |
+
2002_3c,2002_3c,221, 138, 137
|
| 58 |
+
1011_gamma,none,none,none,none
|
| 59 |
+
P490_gaussian,none,none,none,none
|
| 60 |
+
8002-1B_noise,8002-1B,216, 202, 223
|
| 61 |
+
P440_rotate,none,none,none,none
|
| 62 |
+
8007-6G_gamma,8007-6G,236, 235, 232
|
| 63 |
+
8002-8F_brightness,8002-8F,151, 58, 60
|
| 64 |
+
8002-8F_gaussian,8002-8F,151, 58, 60
|
| 65 |
+
P490_rotate,none,none,none,none
|
| 66 |
+
2002_7c,2002_7c,none,none,none
|
| 67 |
+
P370_gaussian,none,none,none,none
|
| 68 |
+
P370_brightness,none,none,none,none
|
| 69 |
+
P370_gamma,none,none,none,none
|
| 70 |
+
8007-6G_hue,8007-6G,236, 235, 232
|
| 71 |
+
P480_hue,none,none,none,none
|
| 72 |
+
P440_clahe,none,none,none,none
|
| 73 |
+
P340_hue,none,none,none,none
|
| 74 |
+
P370_rotate,none,none,none,none
|
| 75 |
+
8007-6G_clahe,8007-6G,236, 235, 232
|
| 76 |
+
P350_rotate,none,none,none,none
|
| 77 |
+
P370_clahe,none,none,none,none
|
| 78 |
+
1003_3C,1003_3C,196, 155, 191
|
| 79 |
+
8002-1B_clahe,8002-1B,216, 202, 223
|
| 80 |
+
8007-6G_rotate,8007-6G,236, 235, 232
|
| 81 |
+
P350_shadow,none,none,none,none
|
| 82 |
+
1011_clahe,none,none,none,none
|
| 83 |
+
P480_shadow,none,none,none,none
|
| 84 |
+
1007_5C,1007_5C,197, 144, 152
|
| 85 |
+
P490_gamma,none,none,none,none
|
| 86 |
+
8007-6G_shadow,8007-6G,236, 235, 232
|
| 87 |
+
8002-8F_shadow,8002-8F,151, 58, 60
|
| 88 |
+
P440_hue,none,none,none,none
|
| 89 |
+
8002-1B_hue,8002-1B,216, 202, 223
|
| 90 |
+
P490_hue,none,none,none,none
|
| 91 |
+
1011_gaussian,none,none,none,none
|
| 92 |
+
8007-6G_brightness,8007-6G,236, 235, 232
|
| 93 |
+
8002-1B_gamma,8002-1B,216, 202, 223
|
| 94 |
+
P490_clahe,none,none,none,none
|
| 95 |
+
8002-1B_shadow,8002-1B,216, 202, 223
|
| 96 |
+
P440_brightness,none,none,none,none
|
| 97 |
+
P490_noise,none,none,none,none
|
| 98 |
+
8002-8F_motion,8002-8F,151, 58, 60
|
| 99 |
+
P350_gaussian,none,none,none,none
|
| 100 |
+
8002-1B_gaussian,8002-1B,216, 202, 223
|
| 101 |
+
1011_hue,none,none,none,none
|
| 102 |
+
P490_brightness,none,none,none,none
|
| 103 |
+
P370_noise,none,none,none,none
|
| 104 |
+
1011_brightness,none,none,none,none
|
| 105 |
+
P350_hue,none,none,none,none
|
| 106 |
+
P440_shadow,none,none,none,none
|
| 107 |
+
P340_motion,none,none,none,none
|
| 108 |
+
8007-6G_gaussian,8007-6G,236, 235, 232
|
| 109 |
+
1011_motion,none,none,none,none
|
| 110 |
+
P480_brightness,none,none,none,none
|
| 111 |
+
8007-6G_noise,8007-6G,236, 235, 232
|
| 112 |
+
P350_gamma,none,none,none,none
|
| 113 |
+
P340_shadow,none,none,none,none
|
| 114 |
+
P340_gamma,none,none,none,none
|
| 115 |
+
8002-8F_noise,8002-8F,151, 58, 60
|
| 116 |
+
P480_gaussian,none,none,none,none
|
| 117 |
+
P440_motion,none,none,none,none
|
| 118 |
+
P490_shadow,none,none,none,none
|
| 119 |
+
P340_rotate,none,none,none,none
|
| 120 |
+
P480_rotate,none,none,none,none
|
| 121 |
+
P440_noise,none,none,none,none
|
| 122 |
+
P340_noise,none,none,none,none
|
| 123 |
+
8002-1B_motion,8002-1B,216, 202, 223
|
| 124 |
+
P340_clahe,none,none,none,none
|
| 125 |
+
P480_gamma,none,none,none,none
|
| 126 |
+
P340_gaussian,none,none,none,none
|
| 127 |
+
8002-1B_brightness,8002-1B,216, 202, 223
|
| 128 |
+
P490_motion,none,none,none,none
|
| 129 |
+
8002-8F_rotate,8002-8F,151, 58, 60
|
| 130 |
+
8007-6G_motion,8007-6G,236, 235, 232
|
| 131 |
+
P340_brightness,none,none,none,none
|
| 132 |
+
1011_noise,none,none,none,none
|
| 133 |
+
P370_hue,none,none,none,none
|
| 134 |
+
P440_gamma,none,none,none,none
|
| 135 |
+
1011_rotate,none,none,none,none
|
| 136 |
+
P480_noise,none,none,none,none
|
| 137 |
+
P350_noise,none,none,none,none
|
| 138 |
+
P480_clahe,none,none,none,none
|
| 139 |
+
P350_brightness,none,none,none,none
|
| 140 |
+
8002-8F_hue,8002-8F,151, 58, 60
|
| 141 |
+
P370_shadow,none,none,none,none
|
generalization_test.png
ADDED
|
Git LFS Details
|
raw_photos.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d498548d5525c80ee775609dfd4687b91494b4e60cac1002e34387128cc2428d
|
| 3 |
+
size 20115268
|
yolo_card_dataset.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f3418b39d700a84c62fdeefaf69852a676fc8b297980012c56610fb0b3b3aa0
|
| 3 |
+
size 20153360
|
yolo_labeled_card.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3024ff4766ca24fa93b89173f319207cd2cd3ebdf07e5f6e170c7f9e3ee0c185
|
| 3 |
+
size 20132379
|
yolo_labeled_patterns.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4d34137b40140ac727fbde99bc397c5ce83410631b8e5f2236215df734beea41
|
| 3 |
+
size 19741384
|
yolo_pattern_dataset.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9284eab5a3a571bc6bded00d4f2eedb23ae05c3bc6ee04ceabf5efef00f90d1
|
| 3 |
+
size 19772487
|