Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Exploring Deepfakes
  • Table Of Contents Toc
  • Feedback & Rating feedback
Exploring Deepfakes

Exploring Deepfakes

By : Bryan Lyon, Matt Tora
4.5 (6)
close
close
Exploring Deepfakes

Exploring Deepfakes

4.5 (6)
By: Bryan Lyon, Matt Tora

Overview of this book

Applying Deepfakes will allow you to tackle a wide range of scenarios creatively. Learning from experienced authors will help you to intuitively understand what is going on inside the model. You’ll learn what deepfakes are and what makes them different from other machine learning techniques, and understand the entire process from beginning to end, from finding faces to preparing them, training the model, and performing the final swap. We’ll discuss various uses for face replacement before we begin building our own pipeline. Spending some extra time thinking about how you collect your input data can make a huge difference to the quality of the final video. We look at the importance of this data and guide you with simple concepts to understand what your data needs to really be successful. No discussion of deepfakes can avoid discussing the controversial, unethical uses for which the technology initially became known. We’ll go over some potential issues, and talk about the value that deepfakes can bring to a variety of educational and artistic use cases, from video game avatars to filmmaking. By the end of the book, you’ll understand what deepfakes are, how they work at a fundamental level, and how to apply those techniques to your own needs.
Table of Contents (15 chapters)
close
close
1
Part 1: Understanding Deepfakes
6
Part 2: Getting Hands-On with the Deepfake Process
10
Part 3: Where to Now?

The power of masking images

When you take a photograph, you are capturing everything that the camera sees. However, the chances are that you’re not equally interested in every part of the image. If you’re on vacation, you might take a selfie of yourself in front of a waterfall, and while you value yourself and the waterfall, you care less about the cars or other people in the image. While you can’t remove the cars without adding something into the gaps for your vacation photos, sometimes, you’re only interested in the main subject and might want to cut it from the rest of the image.

With deepfakes, we can use a mask to help us remove the face from the image so that we replace only the face and leave the rest of the image alone. In other AI tasks, you might have similar needs but different objects that you want to cut out:

Figure 8.3 – An example of the mask used in the deepfake process

Figure 8.3 – An example of the mask used in the deepfake process

Next, let’s look at other...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY