Reader small image

You're reading from  Exploring Deepfakes

Product typeBook
Published inMar 2023
Reading LevelBeginner
PublisherPackt
ISBN-139781801810692
Edition1st Edition
Languages
Right arrow
Authors (2):
Bryan Lyon
Bryan Lyon
author image
Bryan Lyon

Bryan Lyon is a developer for Faceswap.
Read more about Bryan Lyon

Matt Tora
Matt Tora
author image
Matt Tora

Matt Tora is a developer for Faceswap.
Read more about Matt Tora

View More author details
Right arrow

Technical requirements

For this chapter, there is one section with a small amount of code that demonstrates how to use a non-module Git repo for your own uses.

While this isn’t part of the hands-on section of the book, we’ve included the code to interface with a library: PeCLR. This code is also included in the book’s code repo with some additional functionality, including visualizing the points, but is just an example and is not meant to be a complete API for using PeCLR in your own project:

  1. First, open Anaconda Command Prompt.
  2. On Windows, hit Start and then type anaconda. This should bring up the following option:
Figure 8.1 – Anaconda Prompt

Figure 8.1 – Anaconda Prompt

Click on this, and it will open an Anaconda prompt for the rest of the following commands.

  1. Next, we need to clone a copy of the PeCLR library:
    git clone https://github.com/dahiyaaneesh/peclr.git
  2. Download the model data.

The library includes a copy...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Exploring Deepfakes
Published in: Mar 2023Publisher: PacktISBN-13: 9781801810692

Authors (2)

author image
Bryan Lyon

Bryan Lyon is a developer for Faceswap.
Read more about Bryan Lyon

author image
Matt Tora

Matt Tora is a developer for Faceswap.
Read more about Matt Tora