Creating Cartoons with IA and Python: A Step-by-Step Guide

We can use IA to make a cartoon image from a photo in a very easy way using this colaboratory notebook

https://colab.research.google.com/github/williamyang1991/VToonify/blob/master/notebooks/inference_playground.ipynb#scrollTo=90dB2gmfgqOe

Here is an example of image cartoonized

first run this
Then this other 4 parts
this is the 6th
Finally after running this part you can choose the style, ulpoad the image, rescale it and cartoonify it.

Original image

Cartoonized image

You choose the style
Upload the image
Toonify

Here is the result

Style cartoon 4

Now I try cartoon 1

You have to ulpload again the image and rescale it and then toonify it

There is also a web demo

https://huggingface.co/spaces/PKUWilliamYang/VToonify


Subscribe to the newsletter for updates
Tkinter templates
Avatar My youtube channel

Twitter: @pythonprogrammi - python_pygame

Videos

Speech recognition game

Pygame's Platform Game

Other Pygame's posts

Published by pythonprogramming

Started with basic on the spectrum, loved javascript in the 90ies and python in the 2000, now I am back with python, still making some javascript stuff when needed.