Datasets:
TalkingHead-1KH Frames (real faces)
1,971,257 real face-crop frames sampled from the TalkingHead-1KH talking-head videos. They are meant as the real class of a deepfake / face-forgery detection dataset. No video and no audio are included, only individual frames.
Schema
| column | type | value in this dataset |
|---|---|---|
image |
image | face crop, JPEG (quality 95), native crop size (no resizing) |
binary_name |
string | real (real / fake) |
binary_label |
int64 | 0 (0 = real, 1 = fake) |
class_name |
string | real (real / FS / EFS / FR / FE) |
class_id |
int64 | 0 (0 = real, 1 = FS, 2 = FR, 3 = EFS, 4 = FE) |
All rows are real footage, so the label columns are constant. They follow a shared label scheme, so this set can be concatenated with fake-class datasets (FS = face swap, FR = face reenactment, EFS = entire face synthesis, FE = face editing).
Splits (identity-safe)
| split | frames | share | clips | source videos | channel groups | shards |
|---|---|---|---|---|---|---|
| train | 1,387,798 | 70.4% | 274,782 | 1,548 | 743 | 101 |
| validation | 279,929 | 14.2% | 54,985 | 248 | 144 | 20 |
| test | 303,530 | 15.4% | 61,120 | 376 | 164 | 22 |
The split is made at the level of YouTube channels. All frames of a clip, all clips of a video, and all videos of the same channel (matched by channel URL or channel name) are in the same split. So no video or channel, and therefore none of their speakers, appears in two splits. Channel groups were assigned largest first to the split furthest below its 70 / 15 / 15 quota (seed 42), so every split has a similar mix of large and small channels.
Leakage check on the final files: videos in more than one split = 0, channel groups in more than one split = 0, duplicate frames = 0.
Limitation: a person appearing on two different channels cannot be detected from metadata alone.
How the frames were made
- The official clip list (
train+val, 505,466 face clips from 2,898 YouTube videos) was used. Videos that are no longer public, or whose license is no longer Creative Commons, were skipped. - Each video was downloaded video-only at the resolution the official boxes were annotated on
(720p H.264 for almost all), split into 1-minute chunks by stream copy, and cropped with the
official boxes, exactly like the official
videos_split.sh/videos_crop.py. The crops are bit-identical to the official clips before image encoding. - Each clip
[S, E]was divided into k equal parts and the middle frame of each part was kept. k = 8, reduced for short clips so kept frames are at least 0.5 s apart (at least 1 frame per clip). - Rows were shuffled within each split and written as ~500 MB Parquet shards.
Usage
from datasets import load_dataset
ds = load_dataset("kd13/talkinghead-frames") # downloads ~70 GB
ds = load_dataset("kd13/talkinghead-frames", streaming=True) # or stream it
sample = next(iter(ds["train"]))
sample["image"] # PIL.Image
Provenance files (metadata/)
frames_manifest.parquet: for every frame (shard,row), its YouTubevideo_id, official clip name, frame number, fps, crop size and channel group. The source video ishttps://www.youtube.com/watch?v=<video_id>.split_assignment.csv: video → split, channel group, channel name.split_summary.json,split_plan.json,extract_config.json: counts, leakage check, settings.
License and attribution
The frames come from YouTube videos published by their authors under
Creative Commons Attribution 3.0 (CC BY 3.0), as selected by the TalkingHead-1KH authors.
Attribution for every frame (source video and channel) is in the metadata/ files. The
TalkingHead-1KH metadata and scripts are MIT licensed by NVIDIA.
Removal: if you appear in or own a source video and want your frames removed, please open a discussion on this repository with the video link. Videos whose license changed away from CC before collection were already excluded.
Citation
@inproceedings{wang2021facevid2vid,
title={One-Shot Free-View Neural Talking-Head Synthesis for Video Conferencing},
author={Ting-Chun Wang and Arun Mallya and Ming-Yu Liu},
booktitle={CVPR},
year={2021}
}
- Downloads last month
- 50