What do YOU look like in Anime? Here's the source of selfie2anime.com
What do YOU look like in ANIME?
This repository contains the source code for the selfie2anime.com website. Upload a selfie and find out what you look like as an anime character!
Using machine learning techniques combined with a Generative Adversarial Network (GAN) makes it possible to generate anime-style characters based on real people. With this website, you can generate your own anime alter ego!
The GAN we are using is based on original work by Junho Kim, Minjae Kim, Hyeonwoo Kang, and Kwanghee Lee. More information can be found in their awesome repository, which is available here, or in their research paper.
Recent anime selfies are being published on Twitter @RicoBeti.
(More detailed instructions will follow later)
Install dependencies:
bash npm install
Pull submodules (the blog):
bash git submodule update --init --recursive
Set correct values for environment variables in the
.envfiles.
Run a quick build to generate all assets needed for development:
bash DISABLE_IMAGE_OPTIMIZATION=1 npm run build
Run development server:
bash npm run serve
Alternatively, build the release version:
bash npm run build
Building a release version may take a long time due to generation of the portfolio and due to image optimizations being performed. In case the portfolio has not changed, set
DISABLE_PORTFOLIO_BUILD=1to suppress regeneration of the images.
For development and testing, set
DISABLE_IMAGE_OPTIMIZATION=1to avoid wasting time on image compression.
MIT, see LICENSE.txt.