Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
843
1.5k
scene
stringclasses
50 values
category
stringclasses
10 values
view_id
stringclasses
16 values
kind
stringclasses
2 values
dx
float64
-1
1
dy
float64
-0.97
0.97
dz
float64
-0.98
1
yaw_deg
float64
-179.65
166
pitch_deg
float64
-76.84
77
face_x
float64
182
1.03k
face_y
float64
122
954
target_x
float64
-157.6
1.71k
target_y
float64
-74.85
1.49k
label_source
stringclasses
3 values
repair
stringclasses
2 values
mask
stringlengths
19
22
coup0
couple
orig
original
-0.89055
-0.454885
-0
-90
-27.058
498
487
359
558
manual
null
masks/coup0/orig.png
coup0
couple
r1_00
generated
-0.85061
0.442527
0.283959
-71.539
26.265
500
492
328
384
manual
gemini
masks/coup0/r1_00.png
coup0
couple
r1_01
generated
0.997604
-0.004202
0.06906
86.04
-0.241
683.392105
474.468421
1,097.392105
466.468421
manual
gemini
masks/coup0/r1_01.png
coup0
couple
r1_03
generated
0.559329
0.190703
0.806711
34.735
10.994
619.768421
454.292105
932.768421
229.292105
manual
inpaint
masks/coup0/r1_03.png
coup0
couple
r1_05
generated
-0.988372
-0.152057
-0
-90
-8.746
500
492
84
556
manual
gemini
masks/coup0/r1_05.png
coup0
couple
r1_08
generated
-0.907799
-0.378042
0.181619
-78.686
-22.212
500
492
213
593
manual
inpaint
masks/coup0/r1_08.png
coup1
couple
orig
original
-0.964942
-0.262464
-0
-90
-15.216
674.357895
354.521053
424.357895
422.521053
manual
null
masks/coup1/orig.png
coup1
couple
r1_00
generated
0.882842
0.314118
0.34917
68.421
18.308
403
411
614
295
manual
gemini
masks/coup1/r1_00.png
coup1
couple
r1_03
generated
-0.294848
-0.50327
0.812271
-19.951
-30.217
403
411
131
521
manual
gemini
masks/coup1/r1_03.png
coup1
couple
r1_04
generated
0.957891
0.183408
0.220921
77.013
10.568
403
411
645
339
manual
gemini
masks/coup1/r1_04.png
coup1
couple
r1_06
generated
-0.99576
-0.040757
0.082463
-85.266
-2.336
403
411
57
413
manual
gemini
masks/coup1/r1_06.png
coup1
couple
r1_07
generated
0.363132
0.850449
0.38062
43.653
58.261
403
411
476
178
manual
gemini
masks/coup1/r1_07.png
coup2
couple
orig
original
0.969307
-0.090415
0.228625
76.729
-5.188
573
416
952
414
manual
null
masks/coup2/orig.png
coup2
couple
r1_00
generated
0.80759
0.565438
0.167566
78.278
34.433
454.727632
378.934211
727.727632
158.934211
manual
gemini
masks/coup2/r1_00.png
coup2
couple
r1_02
generated
0.124673
0.946015
0.299186
22.622
71.088
577
427
622
115
manual
gemini
masks/coup2/r1_02.png
coup2
couple
r1_03
generated
-0.911696
-0.328195
0.247182
-74.83
-19.159
375.452632
454.094737
-150.547368
585.094737
manual
gemini
masks/coup2/r1_03.png
coup2
couple
r1_09
generated
-0.147133
-0.813611
0.562485
-14.659
-54.45
437.725
532.325
273.725
1,101.325
manual
gemini
masks/coup2/r1_09.png
coup3
couple
orig
original
0.000913
-0.005667
0.999984
0.052
-0.325
394
582
284
412
manual
null
masks/coup3/orig.png
coup3
couple
r1_01
generated
-0.734379
0.467274
0.492283
-56.164
27.858
401
591
49
341
requested
gemini
masks/coup3/r1_01.png
coup3
couple
r1_02
generated
-0.901114
0.231143
-0.366832
-112.151
13.364
401
591
147
544
manual
gemini
masks/coup3/r1_02.png
coup3
couple
r1_03
generated
-0.620081
-0.011265
0.784457
-38.325
-0.645
401
591
108
532
manual
gemini
masks/coup3/r1_03.png
coup3
couple
r1_04
generated
-0.289627
-0.449633
0.844954
-18.92
-26.72
401
591
30
856
manual
gemini
masks/coup3/r1_04.png
coup3
couple
r1_05
generated
-0.915432
-0.089142
-0.392476
-113.206
-5.114
401
591
69
655
manual
gemini
masks/coup3/r1_05.png
coup3
couple
r1_06
generated
-0.514524
0.68051
0.5217
-44.603
42.884
401
591
152
254
manual
inpaint
masks/coup3/r1_06.png
coup3
couple
r1_08
generated
0.430033
-0.686931
0.58583
36.281
-43.388
401
591
694
1,059
requested
gemini
masks/coup3/r1_08.png
coup4
couple
orig
original
-0.981056
0.106383
-0.161903
-99.371
6.107
260
532
29
504
manual
null
masks/coup4/orig.png
coup4
couple
r1_05
generated
0.991383
-0.042384
0.123946
82.874
-2.429
670.834211
544.486842
1,713.834211
594.486842
manual
gemini
masks/coup4/r1_05.png
coup4
couple
r1_06
generated
-0.360061
0.888403
0.284775
-51.659
62.673
247
536
102
270
manual
inpaint
masks/coup4/r1_06.png
coup4
couple
r1_09
generated
-0.130934
0.974507
0.182188
-35.704
77.035
247
536
149
78
manual
gemini
masks/coup4/r1_09.png
coup4
couple
r2_01
generated
-0.621956
-0.107344
-0.77566
-141.276
-6.162
247
536
0
605
gaze3d confirmed
gemini
masks/coup4/r2_01.png
coup4
couple
r2_04
generated
-0.779832
0.41751
0.466421
-59.116
24.677
247
536
17
441
gaze3d confirmed
gemini
masks/coup4/r2_04.png
eat0
eating
orig
original
0.742264
-0.537509
0.400161
61.671
-32.514
463
394
860
591
manual
null
masks/eat0/orig.png
eat0
eating
r1_01
generated
-0.72314
0.20012
0.661075
-47.567
11.544
458
389
256
256
manual
gemini
masks/eat0/r1_01.png
eat0
eating
r1_07
generated
0.968578
-0.080548
0.235307
76.345
-4.62
458
389
941
376
manual
inpaint
masks/eat0/r1_07.png
eat0
eating
r2_03
generated
0.876291
-0.048147
-0.479371
118.681
-2.76
458
389
998
548
gaze3d confirmed
gemini
masks/eat0/r2_03.png
eat1
eating
orig
original
-0.136609
-0.963063
0.232053
-30.485
-74.379
527
379
443
937
manual
null
masks/eat1/orig.png
eat1
eating
r1_01
generated
0.810668
0.44119
0.384927
64.6
26.18
654.431579
303.347368
1,002.431579
45.347368
manual
gemini
masks/eat1/r1_01.png
eat1
eating
r1_03
generated
0.147867
0.972187
0.181626
39.15
76.455
684.663158
267.147368
744.663158
-74.852632
manual
gemini
masks/eat1/r1_03.png
eat1
eating
r1_04
generated
0.975527
0.13764
0.171473
80.031
7.911
808.428947
286.726316
1,274.428947
180.726316
manual
gemini
masks/eat1/r1_04.png
eat1
eating
r1_05
generated
-0.77358
0.18474
-0.606172
-128.082
10.646
533
383
302
410
manual
inpaint
masks/eat1/r1_05.png
eat1
eating
r1_07
generated
-0.523073
0.365355
-0.770007
-145.811
21.429
533
383
304
378
manual
inpaint
masks/eat1/r1_07.png
eat1
eating
r1_08
generated
-0.88512
-0.233124
0.402761
-65.533
-13.481
533
383
84
408
manual
inpaint
masks/eat1/r1_08.png
eat2
eating
orig
original
-0.880313
-0.416908
0.226355
-75.58
-24.64
710
730
90
1,034
manual
null
masks/eat2/orig.png
eat2
eating
r1_04
generated
0.674656
0.503697
0.539563
51.349
30.245
827.668421
670.205263
1,149.668421
459.205263
manual
gemini
masks/eat2/r1_04.png
eat2
eating
r1_05
generated
-0.749957
0.219139
-0.624133
-129.768
12.658
707
737
445
673
manual
gemini
masks/eat2/r1_05.png
eat2
eating
r1_06
generated
-0.64004
0.05404
0.766439
-39.865
3.098
707
737
351
691
requested
inpaint
masks/eat2/r1_06.png
eat2
eating
r1_09
generated
-0.724826
0.315198
-0.612599
-130.203
18.373
707
737
427
634
manual
gemini
masks/eat2/r1_09.png
eat2
eating
r2_00
generated
0.349869
-0.845598
0.403182
40.95
-57.736
707
737
1,084
1,489
gaze3d confirmed
gemini
masks/eat2/r2_00.png
eat2
eating
r2_02
generated
-0.99761
0.019459
-0.066306
-93.803
1.115
707
737
10
724
gaze3d confirmed
gemini
masks/eat2/r2_02.png
eat3
eating
orig
original
0.312236
-0.433536
0.845314
20.273
-25.692
555
386
930
436
manual
null
masks/eat3/orig.png
eat3
eating
r1_01
generated
-0.968901
0.241537
-0.053758
-93.176
13.977
555
385
80
279
manual
inpaint
masks/eat3/r1_01.png
eat3
eating
r1_02
generated
-0.98133
-0.13418
0.137793
-82.007
-7.711
555
385
92
419
manual
inpaint
masks/eat3/r1_02.png
eat3
eating
r1_04
generated
-0.645124
0.457041
-0.612314
-133.505
27.196
297.289474
352.044737
-122.710526
221.044737
manual
inpaint
masks/eat3/r1_04.png
eat3
eating
r1_05
generated
0.085223
0.901323
0.424681
11.347
64.333
555
385
587
78
manual
gemini
masks/eat3/r1_05.png
eat3
eating
r1_06
generated
-0.837148
0.432037
0.33545
-68.164
25.597
555
385
342
232
manual
gemini
masks/eat3/r1_06.png
eat4
eating
orig
original
-0.945373
-0.325991
-0
-90
-19.026
1,025
122
242
392
manual
null
masks/eat4/orig.png
eat4
eating
r1_04
generated
-0.558303
-0.812777
0.166408
-73.403
-54.368
1,025
124
614
725
manual
gemini
masks/eat4/r1_04.png
eat4
eating
r1_08
generated
-0.899087
0.390715
0.197446
-77.614
22.999
1,025
124
842
27
manual
inpaint
masks/eat4/r1_08.png
eat4
eating
r1_09
generated
-0.48681
-0.80153
0.347224
-54.501
-53.276
1,025
124
550
932
manual
inpaint
masks/eat4/r1_09.png
eat4
eating
r2_00
generated
-0.640582
-0.009941
-0.767826
-140.162
-0.57
1,025
124
135
397
gaze3d confirmed
gemini
masks/eat4/r2_00.png
fami0
family
orig
original
0.028064
-0.062969
0.997621
1.611
-3.61
661
516
798
379
manual
null
masks/fami0/orig.png
fami0
family
r1_00
generated
0.967236
0.121659
0.222833
77.027
6.988
650
518
910
470
manual
inpaint
masks/fami0/r1_00.png
fami0
family
r1_04
generated
-0.972894
0.009451
0.23106
-76.64
0.542
650
518
419
499
manual
gemini
masks/fami0/r1_04.png
fami0
family
r1_05
generated
-0.920683
0.231759
-0.314056
-108.835
13.401
650
518
462
491
manual
gemini
masks/fami0/r1_05.png
fami0
family
r1_06
generated
0.974885
0.071117
0.211047
77.785
4.078
650
518
926
482
manual
gemini
masks/fami0/r1_06.png
fami0
family
r1_07
generated
-0.279758
0.892753
0.353167
-38.384
63.221
650
518
597
271
manual
gemini
masks/fami0/r1_07.png
fami0
family
r1_08
generated
-0.848078
0.480375
0.223614
-75.229
28.71
650
518
443
378
manual
gemini
masks/fami0/r1_08.png
fami0
family
r1_09
generated
0.808762
0.549252
0.2103
75.424
33.316
650
518
871
359
manual
gemini
masks/fami0/r1_09.png
fami1
family
orig
original
0.136816
-0.081375
0.987248
7.89
-4.668
500
484
610
286
manual
null
masks/fami1/orig.png
fami1
family
r1_02
generated
0.971679
0.214145
-0.09991
95.871
12.365
498
494
802
437
manual
gemini
masks/fami1/r1_02.png
fami1
family
r1_03
generated
-0.893329
0.272068
0.357689
-68.179
15.787
498
494
248
386
manual
gemini
masks/fami1/r1_03.png
fami1
family
r1_05
generated
0.754097
-0.255412
0.605063
51.258
-14.798
498
494
728
513
manual
gemini
masks/fami1/r1_05.png
fami1
family
r1_06
generated
-0.976302
0.057769
0.208561
-77.942
3.312
498
494
176
453
manual
gemini
masks/fami1/r1_06.png
fami1
family
r1_07
generated
0.150664
0.776568
0.611754
13.836
50.947
498
494
527
305
manual
gemini
masks/fami1/r1_07.png
fami1
family
r1_09
generated
-0.952978
-0.173678
0.248333
-75.394
-10.002
498
494
114
532
requested
gemini
masks/fami1/r1_09.png
fami2
family
orig
original
0.158586
0.158381
0.974559
9.242
9.113
461
679
505
582
manual
null
masks/fami2/orig.png
fami2
family
r1_00
generated
0.073913
0.661829
0.746002
5.658
41.44
464
681
474
501
manual
gemini
masks/fami2/r1_00.png
fami2
family
r1_01
generated
0.661805
-0.635453
0.397761
58.993
-39.454
464
681
720
920
requested
gemini
masks/fami2/r1_01.png
fami2
family
r1_02
generated
0.931594
-0.251255
0.262685
74.253
-14.552
464
681
806
766
requested
gemini
masks/fami2/r1_02.png
fami2
family
r1_03
generated
-0.594695
0.60309
0.531621
-48.205
37.092
464
681
362
574
manual
gemini
masks/fami2/r1_03.png
fami2
family
r1_04
generated
-0.954712
0.295092
0.038021
-87.719
17.163
464
681
230
608
manual
gemini
masks/fami2/r1_04.png
fami2
family
r1_05
generated
0.094078
-0.638112
0.764175
7.018
-39.651
464
681
493
959
manual
gemini
masks/fami2/r1_05.png
fami2
family
r1_06
generated
0.862946
0.498153
-0.084659
95.603
29.878
464
681
743
523
manual
gemini
masks/fami2/r1_06.png
fami3
family
orig
original
0.736022
0.676958
-0
90
42.606
284
569
608
271
manual
null
masks/fami3/orig.png
fami3
family
r1_07
generated
0.912286
-0.409554
-0
90
-24.177
395.986842
670.815789
816.986842
859.815789
manual
gemini
masks/fami3/r1_07.png
fami3
family
r1_08
generated
0.977882
0.199703
0.062174
86.362
11.52
281
569
717
472
manual
gemini
masks/fami3/r1_08.png
fami4
family
orig
original
-0.591231
-0.76987
0.240307
-67.881
-50.342
657
681
527
860
manual
null
masks/fami4/orig.png
fami4
family
r1_00
generated
-0.980118
0.180987
-0.081311
-94.742
10.427
662
672
328
614
manual
gemini
masks/fami4/r1_00.png
fami4
family
r1_01
generated
-0.353047
0.321147
-0.878762
-158.112
18.732
557.460526
611.826316
299.460526
506.826316
manual
gemini
masks/fami4/r1_01.png
fami4
family
r1_03
generated
0.940492
0.244994
0.235483
75.943
14.181
760.201316
634.888158
1,008.201316
566.888158
manual
gemini
masks/fami4/r1_03.png
fami4
family
r1_05
generated
-0.822214
-0.21178
0.528312
-57.277
-12.227
662
672
363
739
manual
gemini
masks/fami4/r1_05.png
fami4
family
r1_07
generated
-0.473512
-0.704964
0.528026
-41.884
-44.827
662
672
570
836
requested
gemini
masks/fami4/r1_07.png
meet0
meeting
orig
original
0.324136
-0.498818
0.803814
21.962
-29.922
626
509
986
714
manual
null
masks/meet0/orig.png
meet0
meeting
r1_00
generated
0.774755
0.399143
0.490347
57.67
23.525
626
508
889
339
manual
inpaint
masks/meet0/r1_00.png
meet0
meeting
r1_01
generated
0.941789
0.172711
0.288451
72.971
9.946
626
508
926
429
manual
inpaint
masks/meet0/r1_01.png
meet0
meeting
r1_03
generated
-0.302324
-0.720818
0.623716
-25.86
-46.122
626
508
491
860
manual
inpaint
masks/meet0/r1_03.png
meet0
meeting
r1_05
generated
0.950558
0.171062
0.259184
74.748
9.85
626
508
932
431
manual
inpaint
masks/meet0/r1_05.png
meet0
meeting
r1_06
generated
-0.995649
-0.05776
0.07312
-85.8
-3.311
561.001316
486.686842
179.001316
499.686842
manual
inpaint
masks/meet0/r1_06.png
meet0
meeting
r1_08
generated
0.134976
-0.747838
0.650015
11.731
-48.403
626
508
747
789
manual
inpaint
masks/meet0/r1_08.png
meet1
meeting
orig
original
0.39554
-0.643024
0.655796
31.096
-40.018
679
584
986
871
manual
null
masks/meet1/orig.png
End of preview. Expand in Data Studio

GazeCtrl-Eval

An evaluation set for gaze redirection / gaze-controlled image editing on in-the-wild photos. Each scene is one photograph with one target person, plus several edited views of the same photo in which that person looks in a different, labelled 3D direction. Any two views of a scene form an evaluation pair (source -> target), in either direction.

scenes (source photos) 50
views (incl. originals) 316 (50 original + 266 edited)
ordered pairs 1824
categories couple (5), eating (5), family (5), meeting (5), nature (5), normal (5), playing (5), sport (5), vacation (5), work (5)

Changes in this revision (v3)

v2 (revision 2dde0d4493879db667c6e6b797b747d6cfa8fe5c) had 347 views and 2244 pairs; v1 (6908070e02304b0acb64b062e6ea28415a5a5cd0) had 360 and 2414. Both remain in the repository history, so numbers published against them stay reproducible: load_dataset(..., revision="2dde0d44").

1. Forty-four near-duplicate views were removed. A view was dropped when its labelled direction came within 10 deg of another view of the same scene (measured on the audited labels in manifest_g3d.json); the other view of the pair was kept. Near-duplicates cost evaluation time without adding a distinct direction, and they inflate the pair count quadratically.

2. Thirteen views were added, from a second generation round aimed at the sparse and empty directions. Fourteen were produced and reviewed; one (natu2/r2_00) was rejected.

3. Those thirteen carry measured labels, marked label_source = "gaze3d confirmed". Their direction was measured on the view itself with gaze3d and then checked by a reviewer against the image and the detected head box, so a measurement on the wrong person in a multi-person scene would be caught. They are marked separately for a reason worth stating plainly: gaze3d is also used to score methods on this set. Thirteen of 316 views carrying labels from the scoring estimator is a small contamination, but it is a real one, and the marking lets you exclude them and see whether your result moves.

The other 303 views keep the labels they had: manual (clicked by a reviewer at the point the person looks) or requested (the direction asked of the generator, judged correct on review).

What the second round did not achieve

It aimed at the four empty bins -- looking down and away (yaw -180, -150, -120, +150). They are still empty. Of 108 candidates generated, 14 survived review (13%, against 67% in round 1). Of the 13 kept, only 2 had even been requested into an empty bin, and the direction the person actually ended up looking landed in one zero times: both drifted back to level. Eleven of the thirteen ended up in a different bin from the one requested.

The generator used to build this set does not reliably produce a person looking downward while turned away from the camera. Anyone extending this set should expect that, rather than plan on more rounds of the same.

How it was made

  1. 50 photos from Pexels, 10 categories x 5, not drawn from COCO, SHHQ or WIDER FACE. One person per photo was segmented (SAM ViT-H) and given a depth map (Depth-Anything-V2).
  2. For each person, target gazes were planned to cover the yaw/pitch range evenly. A red dot (image position + depth) marked each 3D target; the person was edited with Gemini (gemini-3-pro-image-preview) to look at it and composited back into the photo.
  3. Every edit was reviewed by a person. Edits were kept only if the result looked natural; when the person in the result looked somewhere other than the requested target, the label was moved by hand to where the person actually looks. The gaze of every original photo was labelled the same way.
  4. Background holes left by the edit were filled (OpenCV inpainting, then a Gemini repair pass where needed, blended back with tone/grain matching), and a final targeted pass fixed views with implausible parts, artifacts or seams. Face points were checked against a face detector (insightface).

Gaze convention

Unit vector (dx, dy, dz) in camera space: dx > 0 = image right, dy > 0 = up, dz > 0 = toward the camera. yaw = atan2(dx, dz) (0 = looking at the camera, +-180 = looking away), pitch = asin(dy). For clicked labels the direction is computed from the face point and a 3D target (pixel + depth relative to the face) with a pinhole model, focal length 0.8 x image width; for measured labels the target point is re-derived along the measured ray with the same model.

Views per gaze bin (yaw bin centre x pitch; all views):

pitch \ yaw -180 -150 -120 -90 -60 -30 0 30 60 90 120 150
up (>= 15) 2 4 7 3 18 10 10 7 24 15 4 2
level 2 7 14 37 18 4 12 4 10 31 6 5
down (< -15) 0 0 0 7 8 13 4 9 11 5 3 0

Files

views/<scene>/<view_id>.png     view_id = "orig" or an edit id (r1_00, r2_03, ...)
views/metadata.csv              one row per view (labels; also drives the HF viewer)
masks/<scene>/<view_id>.png     person mask of that view (0/255)
pairs.csv                       every ordered pair within a scene + angle between gazes
manifest.json                   scenes -> views, with labels and face/target points
manifest_g3d.json               the same views with the gaze3d-audited labels and
                                `label_source_final` / `label_prev` per view

label_source is manual, requested or gaze3d confirmed. In manifest_g3d.json, label_source_final is gaze3d by hand (184), kept by rule (within 15 deg) (105), kept by hand (14) or gaze3d confirmed (round 2) (13).

from datasets import load_dataset
views = load_dataset("baki0115/GazeCtrl-Eval", split="train")
pairs = load_dataset("csv", data_files="hf://datasets/baki0115/GazeCtrl-Eval/pairs.csv", split="train")

Images keep the resolution of the source (longest side 1500 px). Edited views may carry Gemini's SynthID watermark.

Limitations

  • Labels are approximate, the depth component especially; compare methods with an angular tolerance rather than exact agreement.
  • The distribution is skewed toward side views, and four yaw/pitch bins are empty -- see What the second round did not achieve for why they are likely to stay that way.
  • Edited images are generated: hands, accessories and backgrounds may contain small inconsistencies that were judged acceptable.
  • Some views still show changes outside the target person in the real target frame (relighting, redrawn high-frequency texture). If you measure how well a method preserves the rest of the image, subtract each pair's own floor: the same quantity measured on the real target frame.
  • Thirteen views carry labels measured by gaze3d (see above). Exclude them if you score with gaze3d and want the labels fully independent of the scorer.

License and source images

The edited views, masks and labels are released under CC BY-NC 4.0. The source photographs come from Pexels and remain under the Pexels license; they are included only to make the evaluation pairs usable. Do not use the images to identify, profile or portray the people shown in a negative way, and do not redistribute the photographs as stock images. If you appear in one of the photos and want it removed, please open a discussion on this repository.

Downloads last month
1,194