Computer Vision: Python Face Swap & Quick Deepfake in Colab
Computer Vision: Python Face Swap & Quick Deepfake in Colab, available at $54.99, has an average rating of 4.55, with 31 lectures, based on 81 reviews, and has 3431 subscribers.
You will learn about Python based Custom Face Swap Application with Image, Video and Camera. Deepfake Videos based on First Order Motion Model Image Animation Paper Build your own deep fake application using python Deep Fake using Generative Adversarial Neural Networks This course is ideal for individuals who are Beginners or who those wants to start with Python based Face Swap and Deepfake Technology It is particularly useful for Beginners or who those wants to start with Python based Face Swap and Deepfake Technology.
Enroll now: Computer Vision: Python Face Swap & Quick Deepfake in Colab
Summary
Title: Computer Vision: Python Face Swap & Quick Deepfake in Colab
Price: $54.99
Average Rating: 4.55
Number of Lectures: 31
Number of Published Lectures: 31
Number of Curriculum Items: 31
Number of Published Curriculum Objects: 31
Original Price: $109.99
Quality Status: approved
Status: Live
What You Will Learn
- Python based Custom Face Swap Application with Image, Video and Camera.
- Deepfake Videos based on First Order Motion Model Image Animation Paper
- Build your own deep fake application using python
- Deep Fake using Generative Adversarial Neural Networks
Who Should Attend
- Beginners or who those wants to start with Python based Face Swap and Deepfake Technology
Target Audiences
- Beginners or who those wants to start with Python based Face Swap and Deepfake Technology
Hello and welcome to my new course ‘Python Face Swap & Quick Deepfake using Google Colab’
You know, there is is an old phrase that says ‘seeing is believing’. But in the world of ‘Deepfake’ what we see is not always true. Let’s define deep fake with the help of an example video. Here is it.
I used only a single stamp size photos of these people to create these videos. Yes, you heard it right. With only a single face image and few minutes of time with a normal computer, you can create deepfake of anyone. You an even make dead people talk or even sing for you.
Yes! Be prepared to be amazed. Before we proceed any further, let me explain the list of contents that are included in this course. This course is divided exactly into two halves.
In the first half, we will be creating a basic python based face swap application. Before we proceed, we will have an introduction to the deep fake technique, its applications, advantages and disadvantages. Then we have to prepare our computer with all the dependencies installed. We will be installing Anaconda, the platform and IDE for our python programming. Later there are few optional sessions for those who want to learn the basics of python programming language basics.
Later we will install the rest of dependences required to built our custom python face swap application. After that we will writing the python code line by line to complete the whole program with more than 300 lines. Alternatively you may also download the complete code from the google drive link provided in the last session of this course. At first we will be doing the face swap using two static images. One as the source image and other as the target image. Later we will try it for realtime video from our computer’s web camera. And then we will modify it to make it work with a pre-saved video saved in our computer.
From the examples, you can see that this was just a basic face swap program and is not at all perfect. We were doing it just to learn how things works behind the scenes.
Later we will proceed with implementing deepfake based on a paper called ‘First Order Motion Model for Image Animation’ Submitted to Cornell University by Aliaksandr Siarohin, Stéphane Lathuilière, Sergey Tulyakov, Elisa Ricci and Nicu Sebe
Since training a deepfake involve expensive GPUs, we have an alternate plan to use the google Colab’s free GPU. We will be preparing our google drive by creating folders and uploading the sample driving video, based on which the target image needs to be animated and also the target images or source images.
Also we will be downloading a copy the demo google colab notebook and connect with google drive. Then we will clone the first order motion model repository from google drive.
Later we will also proceed with cloning the face-alignment repository. We will install and set it up in our google colab. Then we will move the files into corresponding folders and start with cropping the driving video using a built in python program.
After that we will download the frozen inference graph of the already trained model to our google drive. And now its all set to proceed with the animation of the source images based on the driving video. Once completed we will download the animated video. We will also do the same for few of the other source images too.
The animated video will not be having audio. So we have to mix the audio to it using any free or opensource video editing tool available online. We will do that in our next session and finally we have all the deepfake animated videos with audio included.
As the final session, we will also discuss how we can save the limited free GPU time offered by google and the workaround if the GPU time is exceeded.
Just another word before I conclude. Please please make use of the contents and techniques mentioned in this tutorial very responsibly. Its intended only for learning and research purpose. Me as an instructor or the platform in which I host this course will not be liable for any illegal or irresponsible use of this technique.
That’s all about the topics which are currently included in this quick course. The code, images and weights used in this course has been uploaded and shared in a folder. I will include the link to download them in the last session or the resource section of this course. You are free to use the code in your projects with no questions asked.
Also after completing this course, you will be provided with a course completion certificate which will add value to your portfolio.
So that’s all for now, see you soon in the class room. Happy learning and have a great time.
Bibliographies and Reference Credits
-
NIPS Proceedings – First Order Motion Model for Image Animation – Aliaksandr Siarohin, Stéphane Lathuilière, Sergey Tulyakov, Elisa Ricci, Nicu Sebe
-
Cornell University – Computer Vision and Pattern Recognition – First Order Motion Model for Image Animation
-
Github –AliaksandrSiarohin – first-order-model
-
Github Pages –First Order Motion Model for Image Animation
-
Learn OpenCV – Delaunay Triangulation and Voronoi Diagram using OpenCV
-
Learn OpenCV – Face Swap using OpenCV – Satya Mallick
-
pysource –Face swapping – Sergio Canu
Course Curriculum
Chapter 1: Introduction and Table of Contents
Lecture 1: Introduction and Table of Contents
Chapter 2: Introduction to Deepfake Technology
Lecture 1: Introduction to Deepfake Technology
Chapter 3: Preparing your computer – Installing Anaconda
Lecture 1: Preparing your computer – Installing Anaconda
Chapter 4: Python Basics (Optional)
Lecture 1: Python Basics – Part 1 Assignment
Lecture 2: Python Basics – Part 2 Flow Control
Lecture 3: Python Basics – Part 3 Data Structures
Lecture 4: Python Basics – Part 4 Functions
Chapter 5: Installing OpenCV and other Dependencies
Lecture 1: Installing OpenCV and other Dependencies
Lecture 2: Attempt 1 : Install Dlib for Anaconda the formal way
Lecture 3: Attempt 2: Installing DLib using Visual Studio Build Tools
Lecture 4: (Optional Step) – Switching to Old Python and install Dlib
Chapter 6: Custom Face Swap using Python
Lecture 1: Custom Face Swap using Python part 1
Lecture 2: Custom Face Swap using Python part 2
Lecture 3: Custom Face Swap using Python part 3
Lecture 4: Custom Face Swap using Python part 4
Lecture 5: Custom Face Swap using Python part 5
Lecture 6: Custom Face Swap using Python part 6
Chapter 7: Realtime Webcam Custom Face Swap using Python
Lecture 1: Realtime Custom Face Swap using Python – Part 1
Lecture 2: Realtime Custom Face Swap using Python – Part 2
Chapter 8: Pre-saved Video Custom Face Swap using Python
Lecture 1: Pre-saved Video Custom Face Swap using Python
Chapter 9: Introduction to First Order Animation Model and Colab GPU
Lecture 1: Introduction to First Order Animation Model and Colab GPU
Chapter 10: Setting up Google Colab
Lecture 1: Setting up Google Colab – Part 1
Lecture 2: Setting up Google Colab – Part 2
Chapter 11: Creating Deepfake Animation
Lecture 1: Creating Deepfake Animation – Part 1
Lecture 2: Creating Deepfake Animation – Part 2
Lecture 3: Creating Deepfake Animation – Part 3
Lecture 4: Source File and Folders (deepfake only)
Lecture 5: If cannot copy vox-adv-cpk.pth.tar (download quota exceeded error)
Chapter 12: Adding Audio to Video
Lecture 1: Adding Audio to Video
Chapter 13: Course Conclusion
Lecture 1: Course Conclusion
Chapter 14: SAMPLES AND SOURCE CODE DOWNLOAD
Lecture 1: Download Source code, datasets and sample images from here
Instructors
-
Abhilash Nelson
Computer Engineering Master & Senior Programmer at Dubai
Rating Distribution
- 1 stars: 3 votes
- 2 stars: 4 votes
- 3 stars: 11 votes
- 4 stars: 22 votes
- 5 stars: 41 votes
Frequently Asked Questions
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!
You may also like
- Top 10 Language Learning Courses to Learn in November 2024
- Top 10 Video Editing Courses to Learn in November 2024
- Top 10 Music Production Courses to Learn in November 2024
- Top 10 Animation Courses to Learn in November 2024
- Top 10 Digital Illustration Courses to Learn in November 2024
- Top 10 Renewable Energy Courses to Learn in November 2024
- Top 10 Sustainable Living Courses to Learn in November 2024
- Top 10 Ethical AI Courses to Learn in November 2024
- Top 10 Cybersecurity Fundamentals Courses to Learn in November 2024
- Top 10 Smart Home Technology Courses to Learn in November 2024
- Top 10 Holistic Health Courses to Learn in November 2024
- Top 10 Nutrition And Diet Planning Courses to Learn in November 2024
- Top 10 Yoga Instruction Courses to Learn in November 2024
- Top 10 Stress Management Courses to Learn in November 2024
- Top 10 Mindfulness Meditation Courses to Learn in November 2024
- Top 10 Life Coaching Courses to Learn in November 2024
- Top 10 Career Development Courses to Learn in November 2024
- Top 10 Relationship Building Courses to Learn in November 2024
- Top 10 Parenting Skills Courses to Learn in November 2024
- Top 10 Home Improvement Courses to Learn in November 2024