A deep fake is a manipulated video produced by the application of deep learning. Potential unethical uses have been around in the media for a while. You can imagine how this would end up in the hands of a propaganda mechanism trying to destabilize a government. Please note that we are advising against producing deep fakes for nefarious purposes.
There are ethical applications of the deep fake technology, and some of them are a lot of fun. Have you ever wondered how Sylvester Stallone may have looked in Terminator? Today you can!
In this recipe, we'll learn how to create a deep fake with Python. We'll download public domain videos of two films, and we'll produce a deep fake by replacing one face with another. Charade was a 1963 film directed by Stanley Donen in a style reminiscent of a Hitchcock film. It pairs off Cary Grant in his mid-fifties and Audrey Hepburn in her early 30s. We thought we'd make the pairing more age-appropriate. After some searching...