Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
512
512
source_index
int64
0
250
face_score
float64
0.35
0.78
eyes_found
int64
0
2
nose_found
bool
2 classes
aligned
bool
2 classes
roll_degrees
float64
-57.34
116
source_crop_px
int64
130
2.8k
margin_used
float64
0.91
1.3
centred
bool
2 classes
human_face_fraction
float64
0
0.03
note
stringclasses
2 values
0
0.503
1
true
false
0
1,703
1.3
true
0
2
0.525
1
true
false
0
701
1.3
true
0
3
0.403
2
true
true
5.65
1,057
1.216
true
0
4
0.606
1
true
false
0
153
1.3
true
0
5
0.597
2
true
true
-2.26
1,429
1.126
true
0
7
0.602
2
true
true
-6
987
1.3
true
0
8
0.495
1
true
false
0
325
1.3
true
0
9
0.477
2
true
true
2.47
1,351
1.08
true
0
11
0.478
2
true
false
0
1,883
1.04
true
0
rotation skipped: face too close to the edge
13
0.556
2
true
true
3.05
1,538
1.3
true
0
14
0.629
2
true
true
7.21
1,002
1.258
true
0
15
0.408
1
true
false
0
1,237
1.3
true
0
17
0.42
2
true
false
0
2,014
1.051
true
0
rotation skipped: face too close to the edge
18
0.431
1
false
false
0
322
1.3
true
0
19
0.452
1
true
false
0
625
1.3
true
0
20
0.521
2
true
true
-15.12
877
1.3
true
0
21
0.512
2
true
true
-1.39
1,380
1.188
true
0
24
0.563
2
true
false
0
2,160
0.982
false
0
rotation skipped: face too close to the edge
25
0.547
2
true
true
-13.35
657
1.3
true
0
27
0.524
2
true
true
-0.29
2,077
1.209
true
0
29
0.395
1
true
false
0
834
1.3
true
0
31
0.541
2
true
true
-22.68
1,258
1.156
true
0
35
0.562
2
true
true
1.12
1,676
1.178
true
0
36
0.561
2
true
true
-1.82
1,459
1.241
true
0
37
0.529
1
true
false
0
1,256
1.3
true
0
39
0.58
2
true
true
12.8
130
1.3
true
0
41
0.559
1
true
false
0
967
1.3
true
0
43
0.389
2
true
true
16.33
1,103
1.042
true
0
50
0.598
2
true
false
0
2,160
1.062
false
0
rotation skipped: face too close to the edge
52
0.46
2
true
true
-2.25
1,694
1.3
true
0
55
0.471
2
true
false
0
1,594
1.031
true
0
rotation skipped: face too close to the edge
57
0.461
2
true
true
-21.6
605
1.3
true
0
58
0.364
2
true
false
0
1,427
1.003
true
0
rotation skipped: face too close to the edge
61
0.492
2
true
true
-30.36
1,019
1.17
true
0
65
0.532
2
true
true
-3.49
813
1.3
true
0
66
0.673
1
false
false
0
201
1.3
true
0
67
0.482
2
true
true
-15.01
1,035
1.168
true
0
68
0.582
2
true
true
-6.8
541
1.3
true
0
69
0.442
2
true
false
0
593
1.019
true
0
rotation skipped: face too close to the edge
71
0.608
1
true
false
0
183
1.3
true
0
72
0.48
2
true
false
0
1,864
0.971
false
0
rotation skipped: face too close to the edge
74
0.518
2
true
true
9.38
1,156
1.3
true
0
75
0.475
1
true
false
0
776
1.3
true
0
76
0.354
2
true
false
0
1,569
1.183
true
0
rotation skipped: face too close to the edge
79
0.479
1
true
false
0
209
1.204
true
0
82
0.387
2
true
true
-2.35
1,439
1.3
true
0
84
0.607
2
true
true
-8.46
1,148
1.3
true
0
85
0.491
2
true
false
0
1,260
1.227
true
0
rotation skipped: face too close to the edge
86
0.673
2
true
true
-12.27
836
1.3
true
0
91
0.54
2
true
true
-3.5
1,028
1.3
true
0
93
0.412
2
true
true
-6.74
1,719
1.159
true
0
94
0.508
2
true
true
-38.13
595
1.076
true
0
98
0.35
1
true
false
0
950
1.002
true
0
100
0.59
2
true
true
5.73
293
1.3
true
0
101
0.522
1
false
false
0
836
1.3
true
0
102
0.537
2
true
true
4.66
1,682
1.006
true
0
104
0.626
2
true
true
-2.21
818
1.3
true
0
105
0.401
2
true
true
115.51
727
1.053
true
0
108
0.434
2
true
true
18.76
889
1.243
true
0
110
0.475
2
true
true
-11.12
1,025
1.3
true
0
111
0.377
2
true
false
0
2,160
0.913
false
0
rotation skipped: face too close to the edge
112
0.657
2
true
true
-6.7
817
1.3
true
0
113
0.455
1
true
false
0
2,034
1.002
true
0
114
0.636
2
true
true
10.56
962
1.162
true
0
115
0.487
2
true
false
0
2,160
0.999
false
0
rotation skipped: face too close to the edge
119
0.51
2
true
true
-9.95
1,846
1.21
true
0
120
0.443
2
true
true
-11.08
1,110
1.056
true
0
124
0.673
1
true
false
0
1,143
1.243
true
0
127
0.78
2
true
false
0
1,189
1.246
false
0.028
rotation skipped: face too close to the edge
129
0.572
2
true
true
20.16
299
1.3
true
0
130
0.4
2
true
true
-6.08
387
1.3
true
0
131
0.593
2
true
true
1.34
1,456
1.3
true
0
132
0.588
2
true
false
0
2,146
1.009
true
0
rotation skipped: face too close to the edge
133
0.385
2
true
false
0
2,160
0.972
false
0
rotation skipped: face too close to the edge
134
0.408
2
true
false
0
1,921
1.2
false
0
rotation skipped: face too close to the edge
135
0.436
1
true
false
0
812
1.3
true
0
136
0.376
2
true
true
-26.45
838
1.3
true
0
137
0.504
2
true
true
-57.34
970
1.3
true
0
138
0.537
2
true
true
-6.51
846
1.021
true
0
139
0.452
2
true
true
-0.01
2,012
1.064
true
0
142
0.355
1
true
false
0
1,198
1.27
true
0
145
0.358
2
true
false
0
2,796
1.021
false
0
rotation skipped: face too close to the edge
148
0.39
2
true
true
14.99
1,379
1.232
true
0
152
0.447
2
true
true
32.8
1,138
1.175
true
0
161
0.519
2
true
true
-51.69
554
1.3
true
0
162
0.554
1
true
false
0
2,131
0.96
false
0
164
0.403
2
true
true
28.95
1,305
1.092
true
0
166
0.419
1
true
false
0
1,952
1.3
false
0
172
0.403
1
true
false
0
1,302
1.262
true
0
177
0.442
1
true
false
0
865
1.3
true
0
185
0.445
1
false
false
0
1,126
1.3
true
0
189
0.421
2
true
true
-22.72
491
1.3
true
0
190
0.626
2
true
true
-17.01
501
1.3
true
0
191
0.645
2
true
true
-18.66
557
1.3
true
0
193
0.616
2
true
true
-26.65
620
1.3
true
0
197
0.527
1
false
false
0
601
1.3
true
0
204
0.55
1
false
false
0
354
1.3
true
0
205
0.402
1
true
false
0
260
1.3
true
0
206
0.634
2
true
true
30.44
373
1.3
true
0
208
0.431
1
false
false
0
454
1.3
true
0
End of preview. Expand in Data Studio

Ray_dog_faces

Face crops of the dog in yaryar78/Ray_dog, centred and -- where both eyes were found -- rotated so the eyes are level, resized to 512x512.

contact sheet

Source photos 258
Kept crops 124
Eye-aligned 69 (the rest are upright crops around the detected face box)
Rejected automatically 58 (no visible face, a human face in the crop, face too small, or a duplicate photo)
Removed on review 76 ([6, 10, 26, 28, 32, 33, 38, 40, 44, 45, 46, 47, 48, 51, 56, 59, 63, 64, 73, 77, 78, 80, 83, 88, 89, 95, 97, 99, 103, 109, 116, 122, 125, 126, 143, 144, 146, 147, 149, 150, 151, 153, 163, 165, 173, 175, 176, 178, 180, 181, 186, 187, 188, 192, 194, 198, 199, 200, 201, 202, 203, 211, 214, 215, 223, 224, 225, 226, 231, 233, 235, 237, 241, 244, 256, 257])

How it was made

  1. IDEA-Research/grounding-dino-base (Grounding DINO, zero-shot) prompted with dog face. dog eye. dog nose. human face. (face threshold 0.3, parts 0.25).
  2. A face box is kept only if an eye or nose detection lies inside it.
  3. Eyes and nose are re-detected on the face region; with two eyes the photo is rotated so they are level (the nose decides which way is up, so sideways heads are corrected too).
  4. A square of up to 1.3x the face box's longer side, centred on the face, is cut from the full-resolution photo -- never padded: near the edge the margin shrinks (down to 1.0x), and only then is the square shifted. Crops with human faces and near-duplicate photos are dropped.

Code: scripts/data/make_face_dataset.py at commit c899558221f6f912b143681827ecaba4da07d0b6, reading yaryar78/Ray_dog at revision 9a4405e6f11c70485821d178af120a05099f5b50. Full parameters in build_info.json.

Columns

column
image the 512x512 face crop
source_index row of the photo in yaryar78/Ray_dog
face_score detector confidence for the face box
eyes_found, nose_found landmarks found on the face
aligned True if rotated to level the eyes
roll_degrees rotation applied
source_crop_px side of the square cut from the original photo (below 512 means upscaled)
margin_used crop side / face box size (below the target when the photo edge was near)
centred False if the square had to be shifted off-centre to stay inside the photo
human_face_fraction share of the crop covered by detected human faces

Use

from datasets import load_dataset
ds = load_dataset("yaryar78/Ray_dog_faces", split="train")

In this repo's configs: data: {dataset: hf, hf_repo: yaryar78/Ray_dog_faces}.

Downloads last month
43