Skip to content

cydessole/AnimeLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WORK IN PROGRESS

AnimeLife

An application to add anime style to landscape photos !

Getting started in 20 minutes

  • Clone this repo
  • Install requirements
  • Configure Flask and Stripe Keys in your environment
  • Run the script
  • Check http://localhost:5000
  • Done! 🎉

Home Page

Informations

  1. You can go to https://animelifeapp.herokuapp.com
  2. Signup to use the app
  3. Go to the profile page
  4. Select the image you want to apply anime style and click on the pay with card button
  5. Stripe is in test mode (email: admin@admin.com, card number: 4242 4242 4242 4242, date: 12/20 and cvc 123)

Local Installation

Clone the repo

$ git clone https://github.com/cydessole/AnimeLife.git

Install requirements

$ python -m venv venv
$ . venv/bin/activate
$ pip install -r requirements.txt

Environment

$ export FLASK_APP=project
$ export STRIPE_PUBLISHABLE_KEY=<YOUR_STRIPE_PUBLISHABLE_KEY>
$ export STRIPE_SECRET_KEY=<YOUR_STRIPE_SECRET_KEY>

Run the script

You have to run this script in the AnimeLife directory not in project

$ flask run

Acknowledgments

Check the Jupyter notebook in the github folder to see a bit more about the algorithm behind it. The model is based on the paper Unpaired Image-to-Image Translation using Cycle-Consistent Adversarial Networks to create a CycleGAN between real landscape photos versus anime style landscape. Thanks to Jason Brownlee for the great tutorial for GAN algorithm

About

WIP Application to turn landscape photo to anime style

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published