hkanade commited on
Commit
c48fb85
·
verified ·
1 Parent(s): 6a4a59d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -2
README.md CHANGED
@@ -10,7 +10,7 @@ size_categories:
10
 
11
  # 📸 Persons with Spectacles
12
 
13
- A curated image dataset of human faces annotated for the presence of spectacles (eyeglasses). Ideal for exploring face‑accessory detection, fairness in vision models, and related computer‑vision tasks.
14
 
15
  ---
16
 
@@ -42,4 +42,27 @@ from PIL import Image
42
  import os
43
 
44
  # load full dataset
45
- ds = load_dataset("hkanade/persons_with_spectacles")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
 
11
  # 📸 Persons with Spectacles
12
 
13
+ A curated image dataset of human faces annotated for the presence of spectacles (eyeglasses).
14
 
15
  ---
16
 
 
42
  import os
43
 
44
  # load full dataset
45
+ ds = load_dataset("hkanade/persons_with_spectacles")
46
+
47
+ ## 3. Columns
48
+
49
+ | Column | Datatype | Description |
50
+ |--------------------------------|---------------------------------------------|---------------------------------------------|
51
+ | `Image` | `struct<bytes: binary, path: string>` | Loaded as `PIL.Image.Image` |
52
+ | `image_url` | `string` | URL of the Wikipedia page |
53
+ | `embedding` | `fixed_size_list<element: double>[2048]` | ResNet‑50 embedding |
54
+ | `caption_attribution_description` | `string` | Caption text |
55
+ | `clip_emb` | `fixed_size_list<element: float>[512]` | CLIP embedding of the image |
56
+ | `h` | `fixed_size_list<element: double>[32]` | Hue‑channel histogram |
57
+ | `s` | `fixed_size_list<element: double>[32]` | Saturation‑channel histogram |
58
+ | `v` | `fixed_size_list<element: double>[32]` | Value‑channel histogram |
59
+ | `face_ok` | `bool` | Placeholder flag indicating face validity |
60
+ | `sim` | `float` | Cosine similarity with the query embedding |
61
+
62
+ ## 4.Citation
63
+ @misc{persons_with_spectacles_2025,
64
+ author = {Manali Kanade (hkanade)},
65
+ title = {Persons with Spectacles Dataset},
66
+ year = {2025},
67
+ howpublished = {\url{https://huggingface.co/datasets/hkanade/persons_with_spectacles}}
68
+ }