Hi, guys, welcome back the dark horse in this section, we'll take a look at a very cool project,
although it's controversial, but nevertheless we'll still implement our very own deep deepfake makeup.
So open notebook nine and we'll get started.
But first of all, for those of you who don't know what deepfakes are, deepfakes are essentially fake
videos of someone.
Let's see yourself doing something or seeing something that clearly you didn't do.
But there's a video that basically replicates how you would basically your mannerisms, your facial
expressions, everything.
So it looks almost real, almost like as if it were a video of you seeing or doing something incriminating,
perhaps.
So that's why deepfakes are so controversial.
So you can see this is like a vision of an output of another deepfake algorithm.
You can see this is the original Obama one, and this is a one that they generate, and it looks pretty
much identical, which you can where you can see it creates a lot of problems.
The deepfake model that we're going to introduce is a first order motion model for image animation by
these guys here.
This was in 2019.
So this is a look at the deeper look at their findings, and people added some video explanations as
well.
So it is quite good.
Take a look at this and watch the video if you want to learn more about this algorithm.
So let's go back to notebook fifty nine, so let's run the setup first, so we can firstly install all
of the packages and reports that we need.
So this takes about 20 seconds to run.
Next, there's a big chunk block of could here.
This basically is actually a full HD HTML app, you can see, and it takes a lot of just under a minute
to run concealers, all the cassettes and stuff, and lots of code going on here.
All right.
But what it does, it will actually have already generated this.
So I'll go back to how to use this.
But let's take a look.
One of my outputs?
OK.
So you can see I'm putting Obama's mannerisms here onto the Mona Lisa picture, and it looks freakishly
real.
Look at it.
You can see the Mona Lisa painting look like the eye is moving to the mouth and nose to cheeks.
It looks quite good.
And you can even convicted upskilled to attend Typekit if you wanted it.
So I'm going to press back because you this isn't what you recruited, but when you first load up this
app so you can see the different people.
But these are the people who we know who we are going to pick.
So you can fake Nixon, Putin, a bunch of other Churchill and a bunch of other people who I don't really
know.
There's also cartoons as well.
There's some dolls, Chucky and some Toy Story, a few others E.T. Then there's one game today, not
just to Game of Thrones, but anyway, there's Game of Thrones characters here, as well as statues.
And if Ricky isn't, it can animate the statue and makes it look like it's alive.
And these are the reference videos.
So these are the videos and mannerisms that you'll be placing on to these videos.
So let's try a statue.
Let's try this one, and let's try putting Trump on that statue.
So you just click them so you see how a click each one is highlighted in green.
And no, you can use different models here.
So I actually haven't experimented with much of these models of merely used a Vox model, so you can
always just try different models.
It just takes a while for each one to run, which is why I haven't experimented that much with it.
But click Generate here, and this takes a few minutes to process.
So let's just sit back and wait and then we can playback our final results.
Dogo said that was faster than expected.
So let's take a look at who's to help the water that you're safe now.
That's good.
And you can see this is quite quite good.
It's animating the statue from this Donald Trump video, although it is an image of Donald Trump VIDEO
Unfortunately, here anymore.
I think that Brooke.
But this was basically Donald Trump talking.
And now we have a statue that's moving and talking and freakishly real.
Wait, so that's it for this lesson.
I hope you enjoyed it because this is quite fun.
Also, I know, realized there's no back button after you complete two videos.
It's probably a bug.
If someone wants something fun to do, maybe you can try to resolve that bug.
Nevertheless, I'll stop recording this video now and allow you to make you want your fix.
Remember, you can actually upload your own image, can upload the image of yourself and upload a minute
for this video.
Sorry of someone else, including or using some of the reference videos they have there, and I limit
yourself using that video.
So have fun, and I'll see you in the next lesson.
Thank you.