All Projects → mtobeiyf → Sketch To Art

mtobeiyf / Sketch To Art

Licence: mit
🖼 Create artwork from your casual sketch with GAN and style transfer

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Sketch To Art

Igan
Interactive Image Generation via Generative Adversarial Networks
Stars: ✭ 3,845 (+3243.48%)
Mutual labels:  gan, pix2pix
Deepnudecli
DeepNude Command Line Version With Watermark Removed
Stars: ✭ 112 (-2.61%)
Mutual labels:  gan, pix2pix
Hidt
Official repository for the paper "High-Resolution Daytime Translation Without Domain Labels" (CVPR2020, Oral)
Stars: ✭ 513 (+346.09%)
Mutual labels:  gan, style-transfer
HistoGAN
Reference code for the paper HistoGAN: Controlling Colors of GAN-Generated and Real Images via Color Histograms (CVPR 2021).
Stars: ✭ 158 (+37.39%)
Mutual labels:  gan, style-transfer
Pytorch Pix2pix
Pytorch implementation of pix2pix for various datasets.
Stars: ✭ 74 (-35.65%)
Mutual labels:  gan, pix2pix
Zhihu
This repo contains the source code in my personal column (https://zhuanlan.zhihu.com/zhaoyeyu), implemented using Python 3.6. Including Natural Language Processing and Computer Vision projects, such as text generation, machine translation, deep convolution GAN and other actual combat code.
Stars: ✭ 3,307 (+2775.65%)
Mutual labels:  gan, style-transfer
Deepnude nowatermark withmodel
DeepNude source code,without watermark,with demo and model download link,one command to run offline,GAN/Pytorch/pix2pix/pic2pic
Stars: ✭ 950 (+726.09%)
Mutual labels:  gan, pix2pix
CariMe-pytorch
Unpaired Caricature Generation with Multiple Exaggerations (TMM 2021)
Stars: ✭ 33 (-71.3%)
Mutual labels:  gan, style-transfer
Pix2pix
Image-to-image translation with conditional adversarial nets
Stars: ✭ 8,765 (+7521.74%)
Mutual labels:  gan, pix2pix
Neural Painters X
Neural Paiters
Stars: ✭ 61 (-46.96%)
Mutual labels:  gan, style-transfer
cgan-face-generator
Face generator from sketches using cGAN (pix2pix) model
Stars: ✭ 52 (-54.78%)
Mutual labels:  gan, pix2pix
Neuralnetworkpostprocessing
Unity Post Processing with Convolution Neural Network
Stars: ✭ 81 (-29.57%)
Mutual labels:  gan, pix2pix
CS231n
My solutions for Assignments of CS231n: Convolutional Neural Networks for Visual Recognition
Stars: ✭ 30 (-73.91%)
Mutual labels:  gan, style-transfer
Few Shot Patch Based Training
The official implementation of our SIGGRAPH 2020 paper Interactive Video Stylization Using Few-Shot Patch-Based Training
Stars: ✭ 313 (+172.17%)
Mutual labels:  gan, style-transfer
TET-GAN
[AAAI 2019] TET-GAN: Text Effects Transfer via Stylization and Destylization
Stars: ✭ 74 (-35.65%)
Mutual labels:  gan, style-transfer
Pix2pixhd
Synthesizing and manipulating 2048x1024 images with conditional GANs
Stars: ✭ 5,553 (+4728.7%)
Mutual labels:  gan, pix2pix
pix2pix-tensorflow
A minimal tensorflow implementation of pix2pix (Image-to-Image Translation with Conditional Adversarial Nets - https://phillipi.github.io/pix2pix/).
Stars: ✭ 22 (-80.87%)
Mutual labels:  gan, pix2pix
CoMoGAN
CoMoGAN: continuous model-guided image-to-image translation. CVPR 2021 oral.
Stars: ✭ 139 (+20.87%)
Mutual labels:  gan, style-transfer
Cyclegan Qp
Official PyTorch implementation of "Artist Style Transfer Via Quadratic Potential"
Stars: ✭ 59 (-48.7%)
Mutual labels:  gan, style-transfer
Ashpy
TensorFlow 2.0 library for distributed training, evaluation, model selection, and fast prototyping.
Stars: ✭ 82 (-28.7%)
Mutual labels:  gan, pix2pix

Sketch to Art 🎨

You could be an artist with AI

[Live Demo] Note: Only frontend is available now

Or you can Run with Docker in minutes

Introduction

This project can transform your casual sketch to beautiful painting/artwork using modern AI technology.

Screenshots

Run with Docker

With Docker, you can quickly build and run the entire application in minutes 🐳

# 1. First, clone the repo
git clone https://github.com/mtobeiyf/sketch-to-art.git
cd sketch-to-art

# 2. Build Docker image
docker build -t sketch-to-art:dev .

# 3. Run!
docker run -it --rm -p 8080:8080 -p 5001:5001 -p 5002:5002 sketch-to-art:dev

Then, go to localhost:8080 and play with the demo! 🎉

Theories

To achieve the goal, there are mainly two steps in the pipeline:

  • Reconstruct and generate real image from the sketch
  • Arbitary style transfer to beautify the result with given result

Sketch Reconstruction

The principle behind this is called Conditional Adversarial Networks, known as pix2pix, which is able to generate image based on the given image.

Style Transfer

It became known to us with the appearance of Prisma app. Typically, we generate an individual model for each pre-defined style. Here, we want to go further by using any new picture as the style. So, we adopted the method, Universal Style Transfer via Feature Transforms proposed in NIPS2017, which enables us to perform arbitary style transfer.

Manual Installation

Backend

The server side is powered by Python and Flask. You can see this simpler example. Navigate to the server directory and all the files concerning the service and neural networks are there. The two main files:

  • app_pix.py for pix2pix translation
  • app_stylize.py for arbitrary style transfer

Prerequisites

Make sure you have Python installed, and some packages are needed: tensorflow, keras, pillow, flask, gevent. You can use pip to install them:

pip install -r server/requirements.txt

Run

# Simply run with python
python app_xxx.py

And you could see the output indicating the port it's listening (5001 and 5002). Go to http://localhost:5001 and you should see the returned information.

Frontend

You should installed:

# Clone the repo
git clone [email protected]:mtobeiyf/sketch-to-art.git
cd sketch-to-art

# Install dependencies
yarn  # or npm install

# Run
yarn dev  # or npm run dev

Open your favorite browser at http://localhost:8080, the site is there.

Acknowledgments

This is the final project of Digital Image Processing instructed by Prof. Jia Yan.

Authors

Xin Fu, Shuaibin Zhang, Tangbo Liu, Haoran Su

License

Copyright © 2018, Fing

Released under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].