Extracting Faces
In this chapter, we will start our hands-on activities with the code. To begin with, we’ll cover the process of extracting faces.
Extracting faces is a series of steps in a process that involves many different stages, but it’s the first discrete stage in creating a deepfake. This chapter will first talk about how to run the face extraction script, then we will go hands-on with the code, explaining what each part does.
In this chapter, we will cover the following key sections:
- Getting image files from a video
- Running extract on frame images
- Getting hands-on with the code