Datasets:
image imagewidth (px) 512 512 | binary_name stringclasses 1
value | binary_label int64 0 0 | class_name stringclasses 1
value | class_id int64 0 0 |
|---|---|---|---|---|
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 | |
real | 0 | real | 0 |
HDTF Frames (real talking faces)
14,354 face frames (512x512 PNG) sampled from 230 videos of the HDTF talking-face dataset. Every frame is real (no manipulated content). It is meant as the real class of a deepfake / face-forgery detection dataset. No video or audio is included, only still frames.
Columns
| column | type | value in this dataset | meaning |
|---|---|---|---|
image |
image | PNG bytes | 512x512 face crop; image.path = <video_id>/<frame>.png |
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 (face swap), 2 = FR (face reenactment), 3 = EFS (entire face synthesis), 4 = FE (face editing) |
Splits (identity-disjoint)
| split | videos | people | frames | share | frames RD / WDA / WRA |
|---|---|---|---|---|---|
| train | 160 | 77 | 10,096 | 70.3% | 2,346 / 5,032 / 2,718 |
| validation | 36 | 29 | 2,120 | 14.8% | 554 / 1,044 / 522 |
| test | 34 | 31 | 2,138 | 14.9% | 576 / 1,024 / 538 |
No person appears in more than one split. Videos are first grouped by person:
- by name (
AdamKinzinger0/1/2= one person, also across WDA and WRA), and - by face: HDTF's 56 "Radio" (RD) videos are unnamed, so every video gets a mean face embedding (OpenCV SFace), and videos with cosine similarity >= 0.4 are treated as the same person.
Whole person groups are then assigned to train / validation / test (target 70 / 15 / 15 % of frames, stratified by source, seed 42). The build verifies that no video, person name or person group is shared between splits, and that the most similar faces across splits stay below the threshold.
How the frames were made
- Each video's annotated talking-face segments (from HDTF's
xx_annotion_time.txt) are joined into one timeline, cut into n = 64 equal parts, and the middle frame of each part is kept. Videos shorter than n x 0.5 s get fewer parts so frames stay at least 0.5 s apart. - Faces are cropped with HDTF's official crop window (
xx_crop_wh.txt, rescaled to the downloaded resolution) and resized to 512x512. If that window was missing or held no face, HDTF's alternative method (merged face boxes of the clip, enlarged) was used. Frames without a detectable face were dropped. - Frames are stored losslessly as PNG to avoid adding compression artifacts.
- Only videos still available on YouTube at build time are included (see
metadata/failed_videos.csv).
Usage
from datasets import load_dataset
ds = load_dataset("kd13/HDTF-frames")
img = ds["train"][0]["image"] # PIL.Image, 512x512
label = ds["train"][0]["binary_label"] # 0 = real
Metadata files
metadata/videos.csv: video -> split, person group, source, frame count, YouTube URL, crop methodmetadata/frames_index.csv: split, file, row -> video, person group, timestamp (seconds)metadata/identity_merges.csv: face-similarity merges and near misses between differently named videosmetadata/split_summary.json: counts per split and sourcemetadata/failed_videos.csv: HDTF videos that could not be downloaded
Source, license and citation
Derived from HDTF (Zhang et al., CVPR 2021), released under CC BY 4.0. The videos show public figures giving public addresses (U.S. weekly Democratic / Republican addresses and radio addresses). Please use the data for research on detecting manipulated media and respect the people shown.
@inproceedings{zhang2021flow,
title={Flow-Guided One-Shot Talking Face Generation With a High-Resolution Audio-Visual Dataset},
author={Zhang, Zhimeng and Li, Lincheng and Ding, Yu and Fan, Changjie},
booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
pages={3661--3670},
year={2021}
}
- Downloads last month
- 76