1
00:00:00,120 --> 00:00:05,490
Hi, guys, welcome back the dark horse in this section, we'll take a look at a very cool project,

2
00:00:05,580 --> 00:00:12,600
although it's controversial, but nevertheless we'll still implement our very own deep deepfake makeup.

3
00:00:13,410 --> 00:00:16,580
So open notebook nine and we'll get started.

4
00:00:16,590 --> 00:00:22,980
But first of all, for those of you who don't know what deepfakes are, deepfakes are essentially fake

5
00:00:22,980 --> 00:00:24,780
videos of someone.

6
00:00:25,170 --> 00:00:30,060
Let's see yourself doing something or seeing something that clearly you didn't do.

7
00:00:30,450 --> 00:00:35,700
But there's a video that basically replicates how you would basically your mannerisms, your facial

8
00:00:35,700 --> 00:00:37,410
expressions, everything.

9
00:00:37,410 --> 00:00:44,640
So it looks almost real, almost like as if it were a video of you seeing or doing something incriminating,

10
00:00:44,640 --> 00:00:45,150
perhaps.

11
00:00:45,810 --> 00:00:48,660
So that's why deepfakes are so controversial.

12
00:00:49,590 --> 00:00:55,050
So you can see this is like a vision of an output of another deepfake algorithm.

13
00:00:55,620 --> 00:01:01,050
You can see this is the original Obama one, and this is a one that they generate, and it looks pretty

14
00:01:01,050 --> 00:01:04,950
much identical, which you can where you can see it creates a lot of problems.

15
00:01:05,580 --> 00:01:11,940
The deepfake model that we're going to introduce is a first order motion model for image animation by

16
00:01:11,940 --> 00:01:12,900
these guys here.

17
00:01:12,960 --> 00:01:14,550
This was in 2019.

18
00:01:15,210 --> 00:01:21,300
So this is a look at the deeper look at their findings, and people added some video explanations as

19
00:01:21,300 --> 00:01:21,720
well.

20
00:01:22,380 --> 00:01:23,760
So it is quite good.

21
00:01:23,940 --> 00:01:28,200
Take a look at this and watch the video if you want to learn more about this algorithm.

22
00:01:29,040 --> 00:01:36,780
So let's go back to notebook fifty nine, so let's run the setup first, so we can firstly install all

23
00:01:36,780 --> 00:01:40,230
of the packages and reports that we need.

24
00:01:40,830 --> 00:01:42,960
So this takes about 20 seconds to run.

25
00:01:43,050 --> 00:01:46,230
Next, there's a big chunk block of could here.

26
00:01:46,830 --> 00:01:55,680
This basically is actually a full HD HTML app, you can see, and it takes a lot of just under a minute

27
00:01:55,770 --> 00:02:02,580
to run concealers, all the cassettes and stuff, and lots of code going on here.

28
00:02:03,480 --> 00:02:03,910
All right.

29
00:02:03,930 --> 00:02:07,680
But what it does, it will actually have already generated this.

30
00:02:08,190 --> 00:02:11,070
So I'll go back to how to use this.

31
00:02:11,070 --> 00:02:11,820
But let's take a look.

32
00:02:12,120 --> 00:02:13,330
One of my outputs?

33
00:02:13,410 --> 00:02:13,770
OK.

34
00:02:14,640 --> 00:02:23,820
So you can see I'm putting Obama's mannerisms here onto the Mona Lisa picture, and it looks freakishly

35
00:02:23,820 --> 00:02:24,240
real.

36
00:02:24,330 --> 00:02:24,900
Look at it.

37
00:02:25,560 --> 00:02:32,970
You can see the Mona Lisa painting look like the eye is moving to the mouth and nose to cheeks.

38
00:02:33,480 --> 00:02:34,470
It looks quite good.

39
00:02:34,650 --> 00:02:37,980
And you can even convicted upskilled to attend Typekit if you wanted it.

40
00:02:38,550 --> 00:02:43,830
So I'm going to press back because you this isn't what you recruited, but when you first load up this

41
00:02:43,830 --> 00:02:47,580
app so you can see the different people.

42
00:02:47,730 --> 00:02:50,310
But these are the people who we know who we are going to pick.

43
00:02:50,760 --> 00:02:56,850
So you can fake Nixon, Putin, a bunch of other Churchill and a bunch of other people who I don't really

44
00:02:56,850 --> 00:02:57,410
know.

45
00:02:57,510 --> 00:02:59,590
There's also cartoons as well.

46
00:03:00,330 --> 00:03:08,340
There's some dolls, Chucky and some Toy Story, a few others E.T. Then there's one game today, not

47
00:03:08,340 --> 00:03:13,740
just to Game of Thrones, but anyway, there's Game of Thrones characters here, as well as statues.

48
00:03:14,040 --> 00:03:18,450
And if Ricky isn't, it can animate the statue and makes it look like it's alive.

49
00:03:18,600 --> 00:03:20,340
And these are the reference videos.

50
00:03:20,760 --> 00:03:25,180
So these are the videos and mannerisms that you'll be placing on to these videos.

51
00:03:25,180 --> 00:03:27,070
So let's try a statue.

52
00:03:27,110 --> 00:03:30,960
Let's try this one, and let's try putting Trump on that statue.

53
00:03:31,470 --> 00:03:35,250
So you just click them so you see how a click each one is highlighted in green.

54
00:03:36,120 --> 00:03:38,600
And no, you can use different models here.

55
00:03:38,610 --> 00:03:44,850
So I actually haven't experimented with much of these models of merely used a Vox model, so you can

56
00:03:44,850 --> 00:03:46,350
always just try different models.

57
00:03:46,380 --> 00:03:50,340
It just takes a while for each one to run, which is why I haven't experimented that much with it.

58
00:03:50,850 --> 00:03:54,650
But click Generate here, and this takes a few minutes to process.

59
00:03:54,660 --> 00:03:59,580
So let's just sit back and wait and then we can playback our final results.

60
00:04:05,490 --> 00:04:07,650
Dogo said that was faster than expected.

61
00:04:08,280 --> 00:04:12,600
So let's take a look at who's to help the water that you're safe now.

62
00:04:12,630 --> 00:04:13,140
That's good.

63
00:04:14,190 --> 00:04:17,430
And you can see this is quite quite good.

64
00:04:19,980 --> 00:04:28,380
It's animating the statue from this Donald Trump video, although it is an image of Donald Trump VIDEO

65
00:04:28,380 --> 00:04:29,670
Unfortunately, here anymore.

66
00:04:30,390 --> 00:04:31,170
I think that Brooke.

67
00:04:31,380 --> 00:04:33,750
But this was basically Donald Trump talking.

68
00:04:34,360 --> 00:04:40,120
And now we have a statue that's moving and talking and freakishly real.

69
00:04:40,140 --> 00:04:44,000
Wait, so that's it for this lesson.

70
00:04:44,010 --> 00:04:46,590
I hope you enjoyed it because this is quite fun.

71
00:04:47,940 --> 00:04:52,470
Also, I know, realized there's no back button after you complete two videos.

72
00:04:52,590 --> 00:04:53,580
It's probably a bug.

73
00:04:54,150 --> 00:04:58,320
If someone wants something fun to do, maybe you can try to resolve that bug.

74
00:04:59,430 --> 00:05:06,650
Nevertheless, I'll stop recording this video now and allow you to make you want your fix.

75
00:05:06,670 --> 00:05:12,450
Remember, you can actually upload your own image, can upload the image of yourself and upload a minute

76
00:05:12,450 --> 00:05:14,130
for this video.

77
00:05:14,220 --> 00:05:21,300
Sorry of someone else, including or using some of the reference videos they have there, and I limit

78
00:05:21,450 --> 00:05:23,100
yourself using that video.

79
00:05:23,610 --> 00:05:27,630
So have fun, and I'll see you in the next lesson.

80
00:05:27,780 --> 00:05:28,200
Thank you.
