Coder Social home page Coder Social logo

toon-me's Introduction

Toon-Me   Tweet  

forthebadge forthebadge

Mission- A fun project to toon portrait images.

Try your Twitter profile picture in the below colab link. Read Getting Started Yourself before trying (scroll down).

Best suited for Twitter profile pictures. Try "Portrait" photos below 550px.

Please try Model 1 before Model 2.

Model 1:

Model 2:

Highlights

Example Images

Hugh Jackman, actor

Jackman

Robert Downey, Jr., American actor

Robert

Jennifer Lawrence, American actress

Jennifer Lawrence

Virat Kohli, Indian cricketer

Virat

Deepika Padukone, Indian actress

Deepika

Toon-Me

Toon-Me is just a fun project, the main focus is to bring a cartoonized effect to profile pictures. Most of the profile pictures in twitter/Linkedin are portrait images as it helps with visibility, Toon-Me is well suited for images similar to profile pictures. Two models has been combined to bring the cartoonized effect, one is ArtLine https://github.com/vijishmadhavan/ArtLine and another one is Toon-Me.

Technical details of ArtLine can be found on the below link.

https://github.com/vijishmadhavan/ArtLine

Technical Details

Dataset

I have created a custom dataset having 300 images.

Getting Started Yourself

The easiest way to get started is to simply try out on Colab:

-Best suited for Twitter profile pictures. Try photos below 550px.

-Best suited for portrait photos in T-shirt/shirt (below 550px)

-Check the below given example image, poses similar to the below image are more suitable for better results.

Imgur

Try your Twitter profile picture on Colab

Open colab run all the required cells, In case of doubt check this video.

https://www.youtube.com/watch?v=ULqlp6Btk2w&t=324s

Steps to Follow (Twitter/Linkedin):

1 Open your twitter profile page

2 Click on your profile picture, Let it expand.

3 Right click on the image

4 click on "copy image address".

5 Paste it on the url space provided, and run it.

Imgur

Installation Details

This project is built around the wonderful Fast.AI library.

  • fastai==1.0.61 (and its dependencies). Please dont install the higher versions
  • PyTorch 1.6.0 Please don't install the higher versions

Limitations

  • Output depends on Artline.
  • Just Face cartoonization, nothing else.
  • Some poses can be difficult for the model to asses.
  • Good quality photos with proper lighting is needed for good results.
  • Does not work well with random backgrounds, for better results need plain background portraits.

Updates

Get more updates on Twitter

Mail me @ [email protected]

toon-me's People

Contributors

vijishmadhavan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.