🤦‍♂️ Cartoonify Yourself!
Harrison Reid

Harrison Reid @harrison_codes

About: My side projects haunt my dreams.

Location:
Sydney
Joined:
Nov 15, 2018

🤦‍♂️ Cartoonify Yourself!

Publish Date: May 23 '20
44 8

Last week I wrote up a post about how I'd trained a neural network to "cartoonify" pictures of peoples faces.

I also made it available as a twitter bot (so you could tweet at me and have your profile pic cartoonified). I think about 30 or 40 people ended up using it to cartoonify their profile pics, which was a lot of fun 😀

Anyhow, I'm planning to retire the twitter bot soon (because 💸) - but I've now converted the code to run entirely in the browser using tensorflow.js, and made it available online.

Check it out here.

Note: Currently doesn't seem to work reliably (or possibly at all) on mobile browsers - working on fixing this. Also, the cartoonifying effect tends to only work on relatively close up pictures of faces (presumably as thats what it was trained on). So feel free to play around with other kinds of images, but the results probably won't be great.*

Comments 8 total

  • Rahul Jain
    Rahul JainMay 23, 2020

    Hi Harrison, I used Cartoonify on mobile phone. I uploaded an image and it got stuck showing cartoonifying. I waited for 4 mins, still no output. Please have a look into that

  • Muhammad Awais
    Muhammad AwaisMay 23, 2020

    Chrome Tab Crashes

  • Sachin Jain
    Sachin JainMay 24, 2020

    Hey Harrison, I uploaded a pic and it just kinda blurred the image. Nothing else.

    • Harrison Reid
      Harrison ReidMay 24, 2020

      Hmmm interesting - was the picture you selected a portrait style image of a face? As a general rule, it seems to perform best with well lit, relatively close up portrait style images of faces (Presumably because I trained the model with faces). It generally doesn't seem to do much to other styles of image unfortunately...

Add comment