Dataset Viewer
Auto-converted to Parquet Duplicate
clip
string
frame
int64
person_id
int64
bbox_x
float64
bbox_y
float64
bbox_width
float64
bbox_height
float64
gaze_class
string
gaze_x
float64
gaze_y
float64
is_child
int64
1Aea8BH-PCs_1256-1506
1
1
444
408
238
264
inside_visible
1,238.849
425.843
1
1Aea8BH-PCs_1256-1506
1
2
1,181
315
233
285
inside_visible
643.438
520.6
0
1Aea8BH-PCs_1256-1506
2
1
445.666667
405.5
238
264.333333
inside_visible
1,239.018542
425.716542
1
1Aea8BH-PCs_1256-1506
2
2
1,181.333333
313.666667
233
286
inside_visible
643.914304
520.640739
0
1Aea8BH-PCs_1256-1506
3
1
447.333333
403
238
264.666667
inside_visible
1,239.188083
425.590083
1
1Aea8BH-PCs_1256-1506
3
2
1,181.666667
312.333333
233
287
inside_visible
644.390609
520.681478
0
1Aea8BH-PCs_1256-1506
4
1
449
400.5
238
265
inside_visible
1,239.357625
425.463625
1
1Aea8BH-PCs_1256-1506
4
2
1,182
311
233
288
inside_visible
644.866913
520.722217
0
1Aea8BH-PCs_1256-1506
5
1
450.666667
398
238
265.333333
inside_visible
1,239.527167
425.337167
1
1Aea8BH-PCs_1256-1506
5
2
1,182.333333
312
233
286.666667
inside_visible
645.343217
520.762957
0
1Aea8BH-PCs_1256-1506
6
1
452.333333
395.5
238
265.666667
inside_visible
1,239.696708
425.210708
1
1Aea8BH-PCs_1256-1506
6
2
1,182.666667
313
233
285.333333
inside_visible
645.819522
520.803696
0
1Aea8BH-PCs_1256-1506
7
1
454
393
238
266
inside_visible
1,239.86625
425.08425
1
1Aea8BH-PCs_1256-1506
7
2
1,183
314
233
284
inside_visible
646.295826
520.844435
0
1Aea8BH-PCs_1256-1506
8
1
447
400
238
266
inside_visible
1,240.035792
424.957792
1
1Aea8BH-PCs_1256-1506
8
2
1,183.333333
314.666667
233
283
inside_visible
646.77213
520.885174
0
1Aea8BH-PCs_1256-1506
9
1
452
395
238
266
inside_visible
1,240.205333
424.831333
1
1Aea8BH-PCs_1256-1506
9
2
1,183.666667
315.333333
233
282
inside_visible
647.248435
520.925913
0
1Aea8BH-PCs_1256-1506
10
1
458
393
238
266
inside_visible
1,240.374875
424.704875
1
1Aea8BH-PCs_1256-1506
10
2
1,184
316
233
281
inside_visible
647.724739
520.966652
0
1Aea8BH-PCs_1256-1506
11
1
463
399
238
266
inside_visible
1,240.544417
424.578417
1
1Aea8BH-PCs_1256-1506
11
2
1,184
317
233
279.5
inside_visible
648.201043
521.007391
0
1Aea8BH-PCs_1256-1506
12
1
459.5
400.5
238
266
inside_visible
1,240.713958
424.451958
1
1Aea8BH-PCs_1256-1506
12
2
1,184
318
233
278
inside_visible
648.677348
521.04813
0
1Aea8BH-PCs_1256-1506
13
1
456
402
238
266
inside_visible
1,240.8835
424.3255
1
1Aea8BH-PCs_1256-1506
13
2
1,184
316.5
233
279.5
inside_visible
649.153652
521.08887
0
1Aea8BH-PCs_1256-1506
14
1
458.2
401.4
238
266.2
inside_visible
1,241.053042
424.199042
1
1Aea8BH-PCs_1256-1506
14
2
1,184
315
233
281
inside_visible
649.629957
521.129609
0
1Aea8BH-PCs_1256-1506
15
1
460.4
400.8
238
266.4
inside_visible
1,241.222583
424.072583
1
1Aea8BH-PCs_1256-1506
15
2
1,184
317
233
279
inside_visible
650.106261
521.170348
0
1Aea8BH-PCs_1256-1506
16
1
462.6
400.2
238
266.6
inside_visible
1,241.392125
423.946125
1
1Aea8BH-PCs_1256-1506
16
2
1,185
313
233
282
inside_visible
650.582565
521.211087
0
1Aea8BH-PCs_1256-1506
17
1
464.8
399.6
238
266.8
inside_visible
1,241.561667
423.819667
1
1Aea8BH-PCs_1256-1506
17
2
1,185
314
233
281
inside_visible
651.05887
521.251826
0
1Aea8BH-PCs_1256-1506
18
1
467
399
238
267
inside_visible
1,241.731208
423.693208
1
1Aea8BH-PCs_1256-1506
18
2
1,184
316
233
280
inside_visible
651.535174
521.292565
0
1Aea8BH-PCs_1256-1506
19
1
456
401
238
267
inside_visible
1,241.90075
423.56675
1
1Aea8BH-PCs_1256-1506
19
2
1,184
316
233
281
inside_visible
652.011478
521.333304
0
1Aea8BH-PCs_1256-1506
20
1
457
400.75
238
267
inside_visible
1,242.070292
423.440292
1
1Aea8BH-PCs_1256-1506
20
2
1,183
314
233
284
inside_visible
652.487783
521.374043
0
1Aea8BH-PCs_1256-1506
21
1
458
400.5
238
267
inside_visible
1,242.239833
423.313833
1
1Aea8BH-PCs_1256-1506
21
2
1,183
316
233
282
inside_visible
652.964087
521.414783
0
1Aea8BH-PCs_1256-1506
22
1
459
400.25
238
267
inside_visible
1,242.409375
423.187375
1
1Aea8BH-PCs_1256-1506
22
2
1,182
321
233
278
inside_visible
653.440391
521.455522
0
1Aea8BH-PCs_1256-1506
23
1
460
400
238
267
inside_visible
1,242.578917
423.060917
1
1Aea8BH-PCs_1256-1506
23
2
1,182.230769
321.230769
233
277.769231
inside_visible
653.916696
521.496261
0
1Aea8BH-PCs_1256-1506
24
1
462.2
401.6
238
267
inside_visible
1,242.748458
422.934458
1
1Aea8BH-PCs_1256-1506
24
2
1,182.461538
321.461538
233
277.538462
inside_visible
654.393
521.537
0
1Aea8BH-PCs_1256-1506
25
1
464.4
403.2
238
267
gaze_shift
1,242.918
422.808
1
1Aea8BH-PCs_1256-1506
25
2
1,182.692308
321.692308
233
277.307692
inside_visible
656.087
530.137
0
1Aea8BH-PCs_1256-1506
26
1
466.6
404.8
238
267
gaze_shift
1,238.904
443.415
1
1Aea8BH-PCs_1256-1506
26
2
1,182.923077
321.923077
233
277.076923
inside_visible
654.499
526.737
0
1Aea8BH-PCs_1256-1506
27
1
468.8
406.4
238
267
gaze_shift
1,254.39
436.522
1
1Aea8BH-PCs_1256-1506
27
2
1,183.153846
322.153846
233
276.846154
inside_visible
643.577
520.559
0
1Aea8BH-PCs_1256-1506
28
1
471
408
238
267
gaze_shift
1,251.21
451.629
1
1Aea8BH-PCs_1256-1506
28
2
1,183.384615
322.384615
233
276.615385
inside_visible
660.655
537.654
0
1Aea8BH-PCs_1256-1506
29
1
475.083333
408.166667
238
267
inside_visible
1,068.028
877.739
1
1Aea8BH-PCs_1256-1506
29
2
1,183.615385
322.615385
233
276.384615
inside_visible
651.733
533.682
0
1Aea8BH-PCs_1256-1506
30
1
479.166667
408.333333
238
267
inside_visible
1,052.847
895.846
1
1Aea8BH-PCs_1256-1506
30
2
1,183.846154
322.846154
233
276.153846
inside_visible
669.478
536.673
0
1Aea8BH-PCs_1256-1506
31
1
483.25
408.5
238
267
inside_visible
1,053.061971
895.483771
1
1Aea8BH-PCs_1256-1506
31
2
1,184.076923
323.076923
233
275.923077
inside_visible
671.89
548.164
0
1Aea8BH-PCs_1256-1506
32
1
487.333333
408.666667
238
267
inside_visible
1,053.276943
895.121543
1
1Aea8BH-PCs_1256-1506
32
2
1,184.307692
323.307692
233
275.692308
inside_visible
680.778
542.893
0
1Aea8BH-PCs_1256-1506
33
1
491.416667
408.833333
238
267
inside_visible
1,053.491914
894.759314
1
1Aea8BH-PCs_1256-1506
33
2
1,184.538462
323.538462
233
275.461538
inside_visible
679.888
539.844
0
1Aea8BH-PCs_1256-1506
34
1
495.5
409
238
267
inside_visible
1,053.706886
894.397086
1
1Aea8BH-PCs_1256-1506
34
2
1,184.769231
323.769231
233
275.230769
inside_visible
694.198
550.129
0
1Aea8BH-PCs_1256-1506
35
1
499.583333
409.166667
238
267
inside_visible
1,053.921857
894.034857
1
1Aea8BH-PCs_1256-1506
35
2
1,185
324
233
275
inside_visible
683.508
539.08
0
1Aea8BH-PCs_1256-1506
36
1
503.666667
409.333333
238
267
inside_visible
1,054.136829
893.672629
1
1Aea8BH-PCs_1256-1506
36
2
1,185.230769
324.230769
233
274.769231
inside_visible
694.474
885.452
0
1Aea8BH-PCs_1256-1506
37
1
507.75
409.5
238
267
inside_visible
1,054.3518
893.3104
1
1Aea8BH-PCs_1256-1506
37
2
1,185.461538
324.461538
233
274.538462
inside_visible
1,048.66
875.629
0
1Aea8BH-PCs_1256-1506
38
1
511.833333
409.666667
238
267
inside_visible
1,054.566771
892.948171
1
1Aea8BH-PCs_1256-1506
38
2
1,185.692308
324.692308
233
274.307692
inside_visible
1,051.442
884.602
0
1Aea8BH-PCs_1256-1506
39
1
515.916667
409.833333
238
267
inside_visible
1,054.781743
892.585943
1
1Aea8BH-PCs_1256-1506
39
2
1,185.923077
324.923077
233
274.076923
inside_visible
1,053.4846
884.7994
0
1Aea8BH-PCs_1256-1506
40
1
520
410
238
267
inside_visible
1,054.996714
892.223714
1
1Aea8BH-PCs_1256-1506
40
2
1,186.153846
325.153846
233
273.846154
inside_visible
1,055.5272
884.9968
0
1Aea8BH-PCs_1256-1506
41
1
525.411765
412.470588
238
267.058824
inside_visible
1,055.211686
891.861486
1
1Aea8BH-PCs_1256-1506
41
2
1,186.384615
325.384615
233
273.615385
gaze_shift
1,057.5698
885.1942
0
1Aea8BH-PCs_1256-1506
42
1
530.823529
414.941176
238
267.117647
inside_visible
1,055.426657
891.499257
1
1Aea8BH-PCs_1256-1506
42
2
1,186.615385
325.615385
233
273.384615
gaze_shift
1,059.6124
885.3916
0
1Aea8BH-PCs_1256-1506
43
1
536.235294
417.411765
238
267.176471
inside_visible
1,055.641629
891.137029
1
1Aea8BH-PCs_1256-1506
43
2
1,186.846154
325.846154
233
273.153846
gaze_shift
1,061.655
885.589
0
1Aea8BH-PCs_1256-1506
44
1
541.647059
419.882353
238
267.235294
inside_visible
1,055.8566
890.7748
1
1Aea8BH-PCs_1256-1506
44
2
1,187.076923
326.076923
233
272.923077
inside_visible
698.894
559.384
0
1Aea8BH-PCs_1256-1506
45
1
547.058824
422.352941
238
267.294118
inside_visible
1,056.071571
890.412571
1
1Aea8BH-PCs_1256-1506
45
2
1,187.307692
326.307692
233
272.692308
inside_visible
708.3798
562.5598
0
1Aea8BH-PCs_1256-1506
46
1
552.470588
424.823529
238
267.352941
inside_visible
1,056.286543
890.050343
1
1Aea8BH-PCs_1256-1506
46
2
1,187.538462
326.538462
233
272.461538
inside_visible
717.8656
565.7356
0
1Aea8BH-PCs_1256-1506
47
1
557.882353
427.294118
238
267.411765
inside_visible
1,056.501514
889.688114
1
1Aea8BH-PCs_1256-1506
47
2
1,187.769231
326.769231
233
272.230769
inside_visible
727.3514
568.9114
0
1Aea8BH-PCs_1256-1506
48
1
563.294118
429.764706
238
267.470588
inside_visible
1,056.716486
889.325886
1
1Aea8BH-PCs_1256-1506
48
2
1,188
327
233
272
inside_visible
736.8372
572.0872
0
1Aea8BH-PCs_1256-1506
49
1
568.705882
432.235294
238
267.529412
inside_visible
1,056.931457
888.963657
1
1Aea8BH-PCs_1256-1506
49
2
1,188.2
326.2
233
272.8
inside_visible
746.323
575.263
0
1Aea8BH-PCs_1256-1506
50
1
574.117647
434.705882
238
267.588235
inside_visible
1,057.146429
888.601429
1
1Aea8BH-PCs_1256-1506
50
2
1,188.4
325.4
233
273.6
inside_visible
758.99
577.9295
0
End of preview. Expand in Data Studio

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

ChildPlay Dataset

Paper

ChildPlay: A New Benchmark for Understanding Children’s Gaze Behaviour (Tafasca et al. ICCV 2023)

Abstract

Gaze behaviors such as eye-contact or shared attention are important markers for diagnosing developmental disorders in children. While previous studies have looked at some of these elements, the analysis is usually performed on private datasets and is restricted to lab settings. Furthermore, all publicly available gaze target prediction benchmarks mostly contain instances of adults, which makes models trained on them less applicable to scenarios with young children. In this paper, we propose the first study for predicting the gaze target of children and interacting adults. To this end, we introduce the ChildPlay Gaze dataset: a curated collection of short video clips featuring children playing and interacting with adults in uncontrolled environments (e.g. kindergarten, therapy centers, preschools etc.), which we annotate with rich gaze information. Our results show that looking at faces prediction performance on children is much worse than on adults, and can be significantly improved by fine-tuning models using child gaze annotations.

Dataset Description

The ChildPlay Gaze dataset is composed of 401 clips extracted from 95 longer YouTube videos, totaling 120549 frames. For each clip, we select up to 3 people, and annotate all of them in each frame (when they are visible) with gaze information.

The annotations folder contains 3 subfolders: train, val and test. Each subfolder contains csv annotation files in the format videoid_startframe_endframe.csv. In this naming convention, videoid refers to the original video from which the clip was extracted, while the startframe and endframe refer to the starting and ending frames of the clip in the original YouTube video videoid.

For example, one of the original videos downloaded from YouTube is 1Ab4vLMMAbY.mp4 where 1Ab4vLMMAbY is the YouTube video ID, which can be used directly to build the URL (i.e. https://www.youtube.com/watch?v=1Ab4vLMMAbY). The annotation file 1Ab4vLMMAbY_2354-2439.csv found under ChildPlay/annotations/test refers to the annotation of the clip 1Ab4vLMMAbY_2354-2439.mp4 extracted from 1Ab4vLMMAbY.mp4 which starts at frame 2354 and ends at frame 2439 (included). The numbering starts from 1.

Please note that some videos were recorded at 60 FPS, whereas most are at 24-30. When we extracted clips from these, we also downsampled to 30 FPS by skipping every other frame. The starting and ending frames in their names correspond to their numbers in the original video, but we also include the mention downsampled so they are recognizable. For example, smwfiZd8HLc_7508-8408-downsampled.mp4 is a clip extracted between frames 7508 and 8408 from the video smwfiZd8HLc.mp4. However, it only contains 451 frames as opposed to the expected 901 = 8408 - 7508 + 1 since it was downsampled.

Each annotation csv file has one row per annotated person per frame, and includes the following columns:

  • clip: the name of the clip (without extension). This value is duplicated across the entire dataframe.
  • frame: the relative frame number in the clip. For example, frame n refers to the nth frame of the clip. If the clip is named videoid_start-end, then frame n in the clip corresponds to frame start + n - 1 in the original video (unless the clip was downsampled).
  • person_id: an id used to separate and track annotated people in the clip.
  • bbox_x: the x-value of the upper left corner of the head bounding box of the person (in the image frame).
  • bbox_y: the y-value of the upper left corner of the head bounding box of the person (in the image frame).
  • bbox_width: the width of the head bounding box of the person (in the image frame).
  • bbox_height: the height of the head bounding box of the person (in the image frame).
  • gaze_class: a gaze label to determine the type of gaze behavior. One of [inside_visible, outside_frame, gaze_shift, inside_occluded, inside_uncertain, eyes_closed]. Refer to the paper for the definitions of these flags. The labels inside_visible and outside_frame in particular, correspond to the standard inside vs outside label found in other gaze following datasets (e.g. GazeFollow and VideoAttentionTarget)
  • gaze_x: the x-value of the target gaze point (in the image frame). This value is set to -1 when gaze_class != inside_visible.
  • gaze_y: the y-value of the target gaze point (in the image frame). This value is set to -1 when gaze_class != inside_visible.
  • is_child: a binary flag denoting whether the person is a child or an adult.

You will also find a videos.csv file containing a list of videos to download, from which the ChildPlay clips were extracted, along with other metadata (e.g. channel ID, fps, resolution, etc.). There is also a clips.csv file containing similar information but for each clip, and a splits.csv detailing the train/val/test split of each clip.

Furthermore, we provide utility scripts to extract the necessary clips and images from the videos (assuming you have already downloaded them).

Dataset Acquisition

Please follow the steps below to setup the dataset:

  1. Download the 95 original videos listed in videos.csv from YouTube. You can use the python package pytube or some other tool.
  2. Use the extract-clips-from-videos.py script to extract both the clips and corresponding frames from the videos. In order to use the script, you have to supply the following flags --clip_csv_path (path to the clips.csv file), --video_folder (path to the folder of the downloaded videos), --clip_folder (path where to save the clips, it will be created if it doesn't exist), --image_folder (path where to save the images, it will be created if it doesn't exist). Please note that you need to have the packages pandas, tqdm and opencv installed. The script also requires ffmpeg for the extraction.

The final dataset folder structure should look like

.
├── annotations
│   ├── test
│   │   ├── 1Ab4vLMMAbY_2354-2439.csv
│   │   ├── ...
│   ├── train
│   │   ├── 1Aea8BH-PCs_1256-1506.csv
│   │   ├── ...
│   ├── val
│   │   ├── bI1GohGXSt0_2073-2675.csv
│   │   ├── ...
├── clips
│   ├── 1Ab4vLMMAbY_2354-2439.mp4
├── images
│   ├── 1Ab4vLMMAbY_2354-2439
│   │   ├── 1Ab4vLMMAbY_2354.jpg
│   │   ├── ...
│   ├── ...
├── videos
│   ├── 1Ab4vLMMAbY.mp4
│   ├── ...
├── clips.csv
├── README.md
├── extract-clips-from-videos.py
├── splits.csv
└── videos.csv

Contact

Please reach out to Samy Tafasca ([email protected]) or Jean-Marc Odobez ([email protected]) if you have any questions, or if some videos are no longer available on YouTube.

Downloads last month
380