An application to add anime style to landscape photos !
- Clone this repo
- Install requirements
- Configure Flask and Stripe Keys in your environment
- Run the script
- Check http://localhost:5000
- Done! 🎉
- You can go to https://animelifeapp.herokuapp.com
- Signup to use the app
- Go to the profile page
- Select the image you want to apply anime style and click on the pay with card button
- Stripe is in test mode (email: admin@admin.com, card number: 4242 4242 4242 4242, date: 12/20 and cvc 123)
$ git clone https://github.com/cydessole/AnimeLife.git
$ python -m venv venv
$ . venv/bin/activate
$ pip install -r requirements.txt
$ export FLASK_APP=project
$ export STRIPE_PUBLISHABLE_KEY=<YOUR_STRIPE_PUBLISHABLE_KEY>
$ export STRIPE_SECRET_KEY=<YOUR_STRIPE_SECRET_KEY>
You have to run this script in the AnimeLife directory not in project
$ flask run
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