Skip to content
What do YOU look like in Anime? Here's the source of selfie2anime.com
HTML Vue JavaScript TypeScript
Branch: master
Clone or download
Latest commit b262877 Sep 4, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
blog @ 15e114b Reduce annoyance... Aug 30, 2019
cdk Added build Aug 20, 2019
public Reduce annoyance... Aug 30, 2019
public_assets Update TOS/PS Aug 23, 2019
src Update counter Aug 31, 2019
.browserslistrc Set up Vue-based build for theme 'creative' by StartBootstrap Aug 16, 2019
.env Add Chinese i18n Aug 30, 2019
.env.development Add API URL to dev config Aug 29, 2019
.env.production Add AdSense code Aug 24, 2019
.gitignore Generate and hash portfolio images Aug 21, 2019
.gitmodules
LICENSE.txt Initial Commit Aug 16, 2019
README.md Update README Sep 4, 2019
babel.config.js Set up Vue-based build for theme 'creative' by StartBootstrap Aug 16, 2019
build-portfolio.js
buildspec.yml added cdk Aug 20, 2019
package-lock.json Add Chinese i18n Aug 30, 2019
package.json Update README Sep 4, 2019
pms.png Optimize images for size Aug 18, 2019
postcss.config.js Set up Vue-based build for theme 'creative' by StartBootstrap Aug 16, 2019
s2a.png Update README Aug 20, 2019
tsconfig.json
tslint.json Generate and hash portfolio images Aug 21, 2019
vue.config.js Add Chinese i18n Aug 30, 2019
wall.jpg Optimize images for size Aug 18, 2019

README.md

Selfie2Anime

Selfie2Anime  Version  Status

Selfie2Anime

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!

How Does it Work?

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.

Sample Photos

Recent anime selfies are being published on Twitter @RicoBeti.

Here is a bunch of images that have been generated...

Preview

...and here are some of Australia's Prime Ministers

Preview

Development

AWS BAdge

(More detailed instructions will follow later)

  • Install dependencies:

    npm install
  • Pull submodules (the blog):

    git submodule update --init --recursive
  • Set correct values for environment variables in the .env files.

  • Run a quick build to generate all assets needed for development:

    DISABLE_IMAGE_OPTIMIZATION=1 npm run build
  • Run development server:

    npm run serve
  • Alternatively, build the release version:

    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=1 to suppress regeneration of the images.

    For development and testing, set DISABLE_IMAGE_OPTIMIZATION=1 to avoid wasting time on image compression.

License

MIT, see LICENSE.txt.

You can’t perform that action at this time.