GithubHelp home page GithubHelp logo

yangco-le / colorization_tool_on_web Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 3.0 103.56 MB

A web-based animation coloring tool, capable of reconstructing sketches into colored images.

License: Apache License 2.0

Python 42.58% JavaScript 32.77% HTML 0.43% Vue 24.22%

colorization_tool_on_web's Introduction

logo

Anime-Paintbrush

A web-based animation coloring tool, capable of reconstructing sketches into colored images. The uploaded sketch would be preprocessed and some hints about color are needed to provide color information, two parts combining to be put into input. The rendered colorized anime characters will be the output.

This project is developed with javascript, python, css, etc. The front-end development of this project uses Vue with Element-ui , with the back-end development using Django.

Table of Contents

Background

As a painting enthusiast, I have tried different ways of painting, such as pen sketching, oil painting, watercolor, etc. The most convenient one is pen sketching, where the basic concern is to outline the object. However, for human perception and the situation where the most applications are currently put, color is essential for drawing.

Thus it is meaningful to design a tool that would automatically assist in generating high quality images by simply inputing a sketch with a little color cue. By learning through generative adversarial networks (GAN), neural networks can learn pretty good drawing skills. This project deploys the trained neural network on the back-end, while the front-end is deployed on a web application, and a user-friendly interface is designed so that users can complete the color rendering of sketches and download them through simple operations on the web page.

The goals for this repository are:

  1. Provide efficient coloring tools for drawing practitioners to improve drawing efficiency.
  2. Provide non-professionals with the opportunity to draw high-quality manga characters at a low learning cost.
  3. Provide a reference for programmers since all the code has been open sourced.

Install

The back-end is developed with python3.7. Make sure you have an available environment. In your environment, install the required packages.

$ pip install -r requirements.txt

This project uses npm. Go check them out if you don't have them locally installed. Then execute the following commands.

$ cd frontend
$ npm install --save axios
$ npm install -g @vue/cli
$ npm install
$ npm run build

Usage

Enter the home directory and execute the following commands.

$ cd Colorization_Tool_on_Web
$ python manage.py runserver

At this point, you can already access the page at http://127.0.0.1:8000.

Demonstration

Screen Record(See the full video on https://www.bilibili.com/video/BV1nb4y1Q7HY):

Demo 1:

  

      Sketch               Hint               Result

Interface:

Demo 2:

  

      Sketch               Hint               Result

Interface:

Related Efforts

Contributor and Maintainer

@yangco-le

License

MIT © Richard Littauer

colorization_tool_on_web's People

Contributors

yangco-le avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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