Skip to content

cydessole/ColorLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ColorLife

An application to add colors to portraiture 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

Login Page

Profile Page

Informations

  1. You can go to https://colorlifeapp.herokuapp.com
  2. Signup to use the app
  3. Go to the profile page
  4. Select the image you want to apply colors 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: any future date and cvc 123)

Local Installation

Clone the repo

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

Install requirements

$ pip install -r requirements.txt

Environnment

$ 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 github 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 base model is a reproduction of Emil Wallner coloring greyscale images project

About

Application to add color to B&W portraiture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published