DeepFakes Explained

Video by Siraj Raval

There’s a new trend on the interwebs called ‘Deepfakes’, a machine learning system that can be trained to paste one person’s face onto another person’s body, complete with facial expressions.

The effect isn’t yet more convincing than conventional computer graphics techniques, but it could democratize Hollywood-level special effects fakery — and, potentially, lead to a flood of convincing hoaxes.

I’ll explain how DeepFakes works both programmatically and theoretically in this video. It’s essentially 2 autoencoders trained on 2 image datasets and then we reconstruct image A using image B’s decoder.

Code for this video (with coding challenge): https://github.com/llSourcell/deepfakes