Multi-spectral Class Center Network for Face Manipulation Detection and Localization
First, you can utilize MTCNN to detect and crop real face images.
Then, you can apply the bounding box of the real face to crop the corresponding fake face image.
This ensures that both the real and corresponding fake face images have the same size.
Our real-fake pairs list in the ./annotation/real_fake_list/ .
Lastly, run python annotation_ff.py
.
Run bash distrain_valid.sh
Run bash distest.sh
The code framework is based on SSSegmentation, thanks for Zhenchao Jin's help with the code.
Please see the document of SSSegmentation to Install Requirements.