Toonify: Turn Real Faces into Animated Disney Characters

What's AI by Louis-François Bouchard · Beginner ·📄 Research Papers Explained ·5y ago

Key Takeaways

This video discusses Toonify, a website that uses StyleGAN2 to transform real faces into Disney animated movie character styles, and explains the underlying architecture and techniques used to achieve this, including generative adversarial networks and style transfer.

Full Transcript

this ai can transform any of your pictures into accurate representation with a disney animated movie character style you can even use it on yourself right now with a simple click using tunify it's the first link in the description but before testing it out let's quickly see how it works [Music] this is what's ai and i share artificial intelligence news every week if you are new to the channel and want to stay up to date please consider subscribing to not miss any further news using a publicly available pre-trained model called style gun 2 they were able to create tunify a website transforming any picture taken from profile into a disney pixar or dreamworks animated movie character style gun 2 is a can architecture model made by the nvidia research team it currently has state of the art results in generative image modeling in short they use the original stargane architecture and improved it to improve the style related results this network is a generative adversarial network merged with style transfer style transfer is a technique used to change the style of a whole image based on the different styles it was trained on as you can see here the generative adversarial network what we call gun is then the base architecture of the network it's basically composed of two main parts at first there's what we call a generator network which learns high level attributes of the human faces it is trained on such as pose and identity of the person to control the image synthesis process this is where it learns the style of the images fed such as a human style or a disney cartoon style then to train this generator we need the second part of the gan architecture which is a discriminator in short both generated and real images are fed to the discriminator during training which tries to discriminate the real images from the generated ones based on this comparison's feedback the generator network can iteratively improve the quality of the fake images and fool the discriminator as i said to nfi used a pre-trained model which is a model that has already been trained on many images yielding good results then they fine-tuned it by training their generator again with 300 more animated movie character pictures related to disney pixar and dreamworks world then merging specific parts of two different game networks such as one trained on human faces and another one trained on animated movie characters they were able to create a hybrid which has the structure of a cartoon face but photorealistic rendering this gives a high quality cartoon style look to any person and not any cartoon style but the one it has been trained on which in this case are disney pixar and dreamworks movie characters you could do these same steps on any other cartoon styles if you have enough images of this specific style the one impressive thing here is what they've done by merging the two networks in short they understood that the first few layers were responsible for the pose of the head and shape of the face which is controlled by the human faces gun trained network then they saw that the latter layers were more about controlling things like lighting and texture which is what we are looking for with the cartoon images allowing them to generate images from an entirely novel domain and do this with a high degree of control meaning that they could conserve the property of the human face it was fed with and generate a cartoon version of it with a specific style such as disney characters rather than generating images with random properties that are not really following the shapes and the soul of the image fed like most approaches they call this the layer swapping technique in their paper which i linked in the description as well as the tunify website where you can try to cartoonize yourself or any picture you want the tunify website is the first link in the description if you would like to try it out on yourself or any picture you want but here's a quick note from the authors before testing it yourself to produce great results the original image must be a fairly high quality such as around 512 per 512 pixels for the face then side faces and faces of under 128 by 128 pixels are unlikely to be found by the network have fun and please share your results in the comment section with a link to your images or tag me on twitter using at whatsaii i would love to see them please leave a like if you went this far in the video and since there are over 90 percent of you guys watching that are not subscribed yet consider subscribing to the channel to not miss any further news clearly explained if you would like to start or improve with machine learning i've linked all the best online courses in a repository in the description thank you for watching [Music] you

Original Description

Read the article: https://medium.com/towards-artificial-intelligence/this-ai-transform-faces-into-disney-animated-movie-characters-toonify-5225f04da588 Toonify Yourself:► https://bit.ly/3jpMfr2 StyleGAN2:► https://github.com/NVlabs/stylegan2 Paper:► https://arxiv.org/pdf/2010.05334.pdf Follow me for more AI content: ►Instagram: https://www.instagram.com/whats_ai/ ►LinkedIn: https://www.linkedin.com/in/whats-ai/ ►Twitter: https://twitter.com/Whats_AI ►Facebook: https://www.facebook.com/whats.artificial.intelligence/ ►Medium: https://medium.com/@whats_ai The best courses in AI: ►https://www.omologapps.com/whats-ai Join Our Discord channel, Learn AI Together: ►https://discord.gg/learnaitogether Chapters: 0:00 Hey! Tap the Thumbs Up button and Subscribe. You'll learn a lot of cool stuff, I promise. 0:35 Technique explanation 4:20 Try it yourself! Send me the results! 5:03 Conclusion Song credit: https://soundcloud.com/mattis-rodrigue/sans-titre #deeplearning #artificialintelligence #Toonify
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from What's AI by Louis-François Bouchard · What's AI by Louis-François Bouchard · 60 of 60

← Previous Next →
1 What is Artificial intelligence? | Artificial Intelligence terms explained for everyone 1
What is Artificial intelligence? | Artificial Intelligence terms explained for everyone 1
What's AI by Louis-François Bouchard
2 What is Machine Learning? | Introduction to ML for beginners in a minute 2
What is Machine Learning? | Introduction to ML for beginners in a minute 2
What's AI by Louis-François Bouchard
3 What is Deep Learning | Introduction to DL for beginners in a minute 3
What is Deep Learning | Introduction to DL for beginners in a minute 3
What's AI by Louis-François Bouchard
4 What is Supervised Learning | Machine Learning basics explained for beginners 4
What is Supervised Learning | Machine Learning basics explained for beginners 4
What's AI by Louis-François Bouchard
5 What is Unsupervised Learning | Machine Learning basics explained for beginners 5
What is Unsupervised Learning | Machine Learning basics explained for beginners 5
What's AI by Louis-François Bouchard
6 What is Semi-Supervised Learning | Machine Learning basics explained for beginners 6
What is Semi-Supervised Learning | Machine Learning basics explained for beginners 6
What's AI by Louis-François Bouchard
7 What is Reinforcement Learning | Machine Learning basics explained for beginners 7
What is Reinforcement Learning | Machine Learning basics explained for beginners 7
What's AI by Louis-François Bouchard
8 What is Classification | Introduction to Machine Learning for beginners | The Most Used Terms 8
What is Classification | Introduction to Machine Learning for beginners | The Most Used Terms 8
What's AI by Louis-François Bouchard
9 What is Regression | Introduction to Machine Learning for beginners | The Most Used Terms 9
What is Regression | Introduction to Machine Learning for beginners | The Most Used Terms 9
What's AI by Louis-François Bouchard
10 What is Clustering | Introduction to Machine Learning for beginners | The Most Used Terms 10
What is Clustering | Introduction to Machine Learning for beginners | The Most Used Terms 10
What's AI by Louis-François Bouchard
11 What is Backpropagation | Artificial Intelligence & Machine Learning Basics for Beginners 11
What is Backpropagation | Artificial Intelligence & Machine Learning Basics for Beginners 11
What's AI by Louis-François Bouchard
12 What is NLP ? | Introduction to Natural Language Processing for Beginners | Machine Learning 12
What is NLP ? | Introduction to Natural Language Processing for Beginners | Machine Learning 12
What's AI by Louis-François Bouchard
13 Comparing AGI and Traditional AI: Now and Beyond
Comparing AGI and Traditional AI: Now and Beyond
What's AI by Louis-François Bouchard
14 Demystifying Neural Network: A Beginner's Guide to Machine Learning Fundamentals
Demystifying Neural Network: A Beginner's Guide to Machine Learning Fundamentals
What's AI by Louis-François Bouchard
15 Understanding Computer Vision: An Entry-Level Introduction to ML-Driven CV
Understanding Computer Vision: An Entry-Level Introduction to ML-Driven CV
What's AI by Louis-François Bouchard
16 Chatbots for Beginners: A Comprehensive Intro to Machine Learning Applications
Chatbots for Beginners: A Comprehensive Intro to Machine Learning Applications
What's AI by Louis-François Bouchard
17 What is Image Segmentation ? | Computer Vision & ML Techniques Explained for Beginners 17
What is Image Segmentation ? | Computer Vision & ML Techniques Explained for Beginners 17
What's AI by Louis-François Bouchard
18 Object Detection Clearly Explained for Everyone
Object Detection Clearly Explained for Everyone
What's AI by Louis-François Bouchard
19 What is a RNN ? | Introduction to Recurrent Neural Network FOR EVERYONE 19
What is a RNN ? | Introduction to Recurrent Neural Network FOR EVERYONE 19
What's AI by Louis-François Bouchard
20 What is Transfer Learning ? | Deep Learning Basics Explained for Beginners 20
What is Transfer Learning ? | Deep Learning Basics Explained for Beginners 20
What's AI by Louis-François Bouchard
21 Data Science Demystified - An Essential Introduction
Data Science Demystified - An Essential Introduction
What's AI by Louis-François Bouchard
22 Demystifying Data Mining - A Clear and Concise Explanation
Demystifying Data Mining - A Clear and Concise Explanation
What's AI by Louis-François Bouchard
23 Decoding Logistic Regression - A Simple and Comprehensive Explanation
Decoding Logistic Regression - A Simple and Comprehensive Explanation
What's AI by Louis-François Bouchard
24 What is the YOLO algorithm? | Introduction to You Only Look Once, Real Time Object Detection 24
What is the YOLO algorithm? | Introduction to You Only Look Once, Real Time Object Detection 24
What's AI by Louis-François Bouchard
25 AI or Human? What is the Turing Test
AI or Human? What is the Turing Test
What's AI by Louis-François Bouchard
26 Genetic Algorithms Demystified - How Algorithms Evolve
Genetic Algorithms Demystified - How Algorithms Evolve
What's AI by Louis-François Bouchard
27 What is Data Labeling ? | Prepare Your Data for ML and AI | Attaching meaning to digital data 27
What is Data Labeling ? | Prepare Your Data for ML and AI | Attaching meaning to digital data 27
What's AI by Louis-François Bouchard
28 Human Pose Estimation in Machine Learning Explained (2D & 3D)
Human Pose Estimation in Machine Learning Explained (2D & 3D)
What's AI by Louis-François Bouchard
29 What is Self-Supervised Learning ? | Will machines be able to learn like humans ? 29
What is Self-Supervised Learning ? | Will machines be able to learn like humans ? 29
What's AI by Louis-François Bouchard
30 What are GANs ? | Introduction to Generative Adversarial Networks | Face Generation & Editing - 30
What are GANs ? | Introduction to Generative Adversarial Networks | Face Generation & Editing - 30
What's AI by Louis-François Bouchard
31 Introduction to Energy-Based Learning | Yann LeCun Paper
Introduction to Energy-Based Learning | Yann LeCun Paper
What's AI by Louis-François Bouchard
32 The Science Behind Google Translate: Understanding Transformers
The Science Behind Google Translate: Understanding Transformers
What's AI by Louis-François Bouchard
33 Mastering CNNs in 5 Minutes | ConvNets Explained
Mastering CNNs in 5 Minutes | ConvNets Explained
What's AI by Louis-François Bouchard
34 Discover the Power of YOLOv4 - Real-Time Object Detection Simplified
Discover the Power of YOLOv4 - Real-Time Object Detection Simplified
What's AI by Louis-François Bouchard
35 Learn to Draw Real People using AI: Unveiling Future of Image-to-Image Translation
Learn to Draw Real People using AI: Unveiling Future of Image-to-Image Translation
What's AI by Louis-François Bouchard
36 AI Powers PAC-MAN - The Game Engine-Free Revolution
AI Powers PAC-MAN - The Game Engine-Free Revolution
What's AI by Louis-François Bouchard
37 This AI makes blurry faces look 60 times sharper! Introduction to PULSE: photo upsampling
This AI makes blurry faces look 60 times sharper! Introduction to PULSE: photo upsampling
What's AI by Louis-François Bouchard
38 Facebook's TransCoder: Converting Programming Languages with AI
Facebook's TransCoder: Converting Programming Languages with AI
What's AI by Louis-François Bouchard
39 Transforming Images to 3D Models with AI - Discover PIFuHD
Transforming Images to 3D Models with AI - Discover PIFuHD
What's AI by Louis-François Bouchard
40 Optimize Your ML Models - Avoid Underfitting and Overfitting
Optimize Your ML Models - Avoid Underfitting and Overfitting
What's AI by Louis-François Bouchard
41 Behind the Scenes - Disney's Secrets to High-Res Face Swaps
Behind the Scenes - Disney's Secrets to High-Res Face Swaps
What's AI by Louis-François Bouchard
42 Linear Regression in Machine Learning Explained in 5 Minutes
Linear Regression in Machine Learning Explained in 5 Minutes
What's AI by Louis-François Bouchard
43 Style Transfer Better Than GANs! Swapping Autoencoder Explained
Style Transfer Better Than GANs! Swapping Autoencoder Explained
What's AI by Louis-François Bouchard
44 Use AI to Remove Objects from Videos
Use AI to Remove Objects from Videos
What's AI by Louis-François Bouchard
45 OpenAI's Language Generator: GPT | The first AI Generating Text, Code, Websites...
OpenAI's Language Generator: GPT | The first AI Generating Text, Code, Websites...
What's AI by Louis-François Bouchard
46 Autocomplete Images With AI: image-GPT explained
Autocomplete Images With AI: image-GPT explained
What's AI by Louis-François Bouchard
47 Turning Reality into Art - AI That Cartoonizes Your Pictures and Videos
Turning Reality into Art - AI That Cartoonizes Your Pictures and Videos
What's AI by Louis-François Bouchard
48 From Portrait to Cartoon - Discover the Power of FreezeG
From Portrait to Cartoon - Discover the Power of FreezeG
What's AI by Louis-François Bouchard
49 Transfer clothes between photos using AI. From a single image!
Transfer clothes between photos using AI. From a single image!
What's AI by Louis-François Bouchard
50 Precise 3D Human Pose and Mesh Estimation from a Single RGB Image
Precise 3D Human Pose and Mesh Estimation from a Single RGB Image
What's AI by Louis-François Bouchard
51 Smart Navigation - How AI Robots Understand and Explore Environments
Smart Navigation - How AI Robots Understand and Explore Environments
What's AI by Louis-François Bouchard
52 Techfitlab Breaks Down Tesla Autopilot, AI, ML, and DL Complexities
Techfitlab Breaks Down Tesla Autopilot, AI, ML, and DL Complexities
What's AI by Louis-François Bouchard
53 ECCV 2020 Best Paper Award | RAFT: A New Deep Network Architecture For Optical Flow | WITH CODE
ECCV 2020 Best Paper Award | RAFT: A New Deep Network Architecture For Optical Flow | WITH CODE
What's AI by Louis-François Bouchard
54 Maximize Business Efficiency with AI / GPT Technology!
Maximize Business Efficiency with AI / GPT Technology!
What's AI by Louis-François Bouchard
55 AI Transforms Google Photos into Real-Life Scenes
AI Transforms Google Photos into Real-Life Scenes
What's AI by Louis-François Bouchard
56 Old Photo Restoration Using Deep Learning | 2020 Novel Approach Explained & Results
Old Photo Restoration Using Deep Learning | 2020 Novel Approach Explained & Results
What's AI by Louis-François Bouchard
57 This computer vision algorithm removes the water from underwater images !
This computer vision algorithm removes the water from underwater images !
What's AI by Louis-François Bouchard
58 DeepFakes in 5 minutes | Understand how deepfakes work and create your own!
DeepFakes in 5 minutes | Understand how deepfakes work and create your own!
What's AI by Louis-François Bouchard
59 A new brain-inspired intelligent system can drive a car using only 19 control neurons!
A new brain-inspired intelligent system can drive a car using only 19 control neurons!
What's AI by Louis-François Bouchard
Toonify: Turn Real Faces into Animated Disney Characters
Toonify: Turn Real Faces into Animated Disney Characters
What's AI by Louis-François Bouchard

This video teaches how to use StyleGAN2 to transform real faces into Disney animated movie character styles, and explains the underlying architecture and techniques used to achieve this. It also provides a link to try out the Toonify website and encourages viewers to share their results. The video is suitable for beginners and provides a clear explanation of the concepts and techniques used.

Key Takeaways
  1. Read the research paper on StyleGAN2
  2. Understand the GAN architecture and its components
  3. Learn how to apply style transfer to images
  4. Fine-tune a pre-trained model for a specific task
  5. Try out the Toonify website and experiment with different images
💡 The layer swapping technique allows for the combination of two different GAN networks, one trained on human faces and another on animated movie characters, to generate high-quality cartoon-style images with a specific style.

Related Reads

Chapters (4)

Hey! Tap the Thumbs Up button and Subscribe. You'll learn a lot of cool stuff, I
0:35 Technique explanation
4:20 Try it yourself! Send me the results!
5:03 Conclusion
Up next
The Secret Methodology Structure Q1 Reviewers Expect (But Journals Never Tell You)
Academic English Now
Watch →