vtl
vtl copied to clipboard
Fake videos detection by tracing the source using video hashing retrieval.
ViTHash
📜 Directory
- Introduction
- ViTHash
-
Train or Test
- Train
- Test
-
Downloads
- Download Models and Datasets
- DeepFake Dataset Samples
- Video Inpainting Dataset Samples
- Video Splicing Dataset Samples
✨ Introduction
An effective and reliable method for forgery video detection.
👀️ViTHash
![](https://github.com/lajlksdf/vtl/raw/master/assets/flowchart.png)
🔬 Train or Test
Train
Train ViTHash
python train_h.py --local_rank=0 --path=../Celeb-DF --type=Celeb-DF --hash_bits=512 --pretrained=x
Test
Test ViTHash
python test_h.py --local_rank=0 --path=../Celeb-DF --type=Celeb-DF --hash_bits=512 --pretrained=x
🚀️ Downloads
Download Models and Datasets
Pretrained models, hash centers and datasets
Item | Link | Comments |
---|---|---|
All Models | BaiduNetdisk | code:i5l1 |
Video Splicing | BaiduNetdisk | code: a9in |
DeepFake | BaiduNetdisk | code: eaj0 |
Video Inpainting | BaiduNetdisk | code: ande Extension ofDAVIS2016 |
DeepFake Dataset Samples
The person with different scenes.
Source Videos
![](https://github.com/lajlksdf/vtl/raw/master/assets/girl_r0.gif)
![](https://github.com/lajlksdf/vtl/raw/master/assets/girl_r1.gif)
![](https://github.com/lajlksdf/vtl/raw/master/assets/girl_r2.gif)
Fake Videos
![](https://github.com/lajlksdf/vtl/raw/master/assets/girl_f0.gif)
![](https://github.com/lajlksdf/vtl/raw/master/assets/girl_f1.gif)
![](https://github.com/lajlksdf/vtl/raw/master/assets/girl_f2.gif)
Different fake videos are made from the same source.
Source Video
![](https://github.com/lajlksdf/vtl/raw/master/assets/40.gif)
Fake Videos
![](https://github.com/lajlksdf/vtl/raw/master/assets/male-f1.gif)
![](https://github.com/lajlksdf/vtl/raw/master/assets/male-f2.gif)
![](https://github.com/lajlksdf/vtl/raw/master/assets/male-f3.gif)
Video Inpainting Dataset Samples
The first gif of the boat is the original video, and the remaining five videos are generated by different object inpainting methods.
![](https://github.com/lajlksdf/vtl/raw/master/assets/boat.gif)
![](https://github.com/lajlksdf/vtl/raw/master/assets/boat_f0.gif)
![](https://github.com/lajlksdf/vtl/raw/master/assets/boat_f2.gif)
![](https://github.com/lajlksdf/vtl/raw/master/assets/boat_f3.gif)
![](https://github.com/lajlksdf/vtl/raw/master/assets/boat_f4.gif)
![](https://github.com/lajlksdf/vtl/raw/master/assets/boat_f5.gif)
Video Splicing Dataset Samples
The bird, person, soldier and planes are all spliced by manual.
![](https://github.com/lajlksdf/vtl/raw/master/assets/bird.gif)
![](https://github.com/lajlksdf/vtl/raw/master/assets/people.gif)
![](https://github.com/lajlksdf/vtl/raw/master/assets/soldier1.gif)
![](https://github.com/lajlksdf/vtl/raw/master/assets/plane2.gif)
![](https://github.com/lajlksdf/vtl/raw/master/assets/plane3.gif)
![](https://github.com/lajlksdf/vtl/raw/master/assets/plane4.gif)
Tips
We have developed an additional tool to compare the difference between real video and fake video. Please see tool