kevinkyi commited on
Commit
1fc0d70
·
verified ·
1 Parent(s): 0f52fe9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +47 -6
README.md CHANGED
@@ -13,12 +13,53 @@ Binary image dataset indicating whether an image **contains a Baby Yoda LEGO** f
13
  - `has_baby_yoda` (label=0)
14
  - `no_baby_yoda` (label=1)
15
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  ## Splits
17
- - `original`: 30 resized images (224×224)
18
- - `augmented`: 300 label-preserving synthetic images
 
 
 
 
 
 
 
 
 
19
 
20
- ## Augmentations
21
- RandomResizedCrop, flips, rotation, color jitter, sharpness, autocontrast, and random erasing.
22
 
23
- ## Notes
24
- Images are center-cropped to square and resized to 224×224. Labels come from folder names.
 
 
13
  - `has_baby_yoda` (label=0)
14
  - `no_baby_yoda` (label=1)
15
 
16
+ ## Composition & Collection
17
+ - **Creators:** Student-captured photos by the dataset author for an academic assignment.
18
+ - **Subjects:** Desktop/object scenes that may contain a Baby Yoda LEGO figure.
19
+ - **Original count:** {orig_n} images (≥30 required).
20
+ - **Resolution / format:** Center-cropped square, resized to **224×224**, saved as JPEG.
21
+ - **Privacy:** No faces or personally identifiable information (PII) included.
22
+
23
+ ## Labels
24
+ Binary target from folder names:
25
+ - `has_baby_yoda` (label = 0)
26
+ - `no_baby_yoda` (label = 1)
27
+
28
+
29
+
30
+ ## Preprocessing
31
+ 1. Decode `.heic/.jpg/.jpeg/.png` (HEIC via `pillow-heif`).
32
+ 2. Center-crop to square using `min(width, height)`.
33
+ 3. Resize to **224×224** with bilinear interpolation.
34
+ 4. Save as JPEG (quality≈92).
35
+
36
+ ## Augmentation (label-preserving)
37
+ Performed offline to create the `augmented` split (no generative models):
38
+ - `RandomResizedCrop(size=224, scale=(0.7, 1.0), ratio=(0.75, 1.33))`
39
+ - `RandomHorizontalFlip(p=0.5)`
40
+ - `RandomVerticalFlip(p=0.1)`
41
+ - `RandomRotation(±15°, bilinear)`
42
+ - `ColorJitter(brightness=0.2, contrast=0.2, saturation=0.15, hue=0.05)`
43
+ - `RandomErasing(p=0.2, scale=(0.02, 0.08), ratio=(0.3, 3.3))`
44
+
45
+ These transformations do not change whether Baby Yoda is present.
46
+
47
  ## Splits
48
+ - `original`: {orig_n} resized images (224×224)
49
+ - `augmented`: {aug_n} synthetic, label-preserving variants (≥300 total)
50
+
51
+ ## Intended Use / Limits
52
+ - **Use:** Classroom demos, practice with CV pipelines, small experiments.
53
+ - **Not for:** Benchmarks or production systems (limited scope/diversity).
54
+ - **Caveats:** Background/lighting vary; class balance may be modest.
55
+
56
+ ## Ethical Notes
57
+ - No people or PII.
58
+ - Images are student-created and used for coursework.
59
 
60
+ ## Licensing
61
+ - **CC-BY-4.0** for the dataset and documentation. Please credit the dataset if reused.
62
 
63
+ ## AI Usage Disclosure
64
+ - No generative AI to produce new originals.
65
+ - Augmented split created with standard `torchvision` transforms only.