Skip to content
项目

关于

A Deep Learning project to Toon Portrait Images

设计与媒体

这些数字如何统计

可以做什么

  • Technical Details
  • Getting Started Yourself
  • Try your Twitter profile picture on Colab

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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]

探索相关项目

加载中…