Face-X-Ray

Unofficial implementation of paper 'Face X-ray for More General Face Forgery Detection'.

Key Requirements

numpy, opencv-python, scikit-image, dlib, tqdm, color_transfer.

Download dlib's 'shape_predictor_68_face_landmarks.dat' file. Provide its path when running faceBlending.py script.

How it works

1. input: source face image (I_B in paper, one image file or directory of images) and a directory of real face images as face database.
2. search face database for the one whose landmarks are close to source face image.
3. apply convex hull, random deform, piecewise affine transform, color correction and swap.
4. save result in ./dump

Demo Result

Face X Ray

Unofficial implementation of paper 'Face X-ray for More General Face Forgery Detection'. (updating...)

Face X Ray Info

⭐ Stars 64
🔗 Source Code github.com
🕒 Last Update 6 months ago
🕒 Created 2 years ago
🐞 Open Issues 9
➗ Star-Issue Ratio 7
😎 Author neverUseThisName