GithubHelp home page GithubHelp logo

paints's Introduction

Paints

Auto paint sketch based on CNN(from lineart to anime illustration)

This work utilizes about a million pairs of illustration and lineart, while the former is from Danbooru dataset and the latter is from lllyasviel's work. For now, the result is not satisfying and more efforts are needed. If you look for a better auto-paint network please have a look at this and this.

How to use:

Open your shell or terminal:

git clone https://github.com/adamz799/Paints.git
cd V1

Then you need to download network to V1/ and run:

python app.py --lineart YOUR_LINEART_FILE_PATH --ref_img YOUR_REFERENCE_IMAGE_FILE_PATH 


I work on this alone and have no time to implement a GUI, so all the interactive functions are achieved by OpenCV, which might be a little weird. In painting, you need to pick a color from a reference image and draw it to the lineart, then press 'r' in your keyboard to launch the network. It is fine to draw only a part of the lineart to see the result and then draw other parts to correct network's fault.

logo
These pictures are from Danbooru dataset.

logo
logo
logo
logo

This lineart is searched from the Internet by search engine, if this violate you right please contact me or report an issue.

Installation Dependencies:

Disclaimer

This work takes following repo(s) as reference(s):

lllyasviel/style2paints
pfnet/PaintsChainer

paints's People

Contributors

adamz799 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.