Lyyfe Style is a Chrome extension that partners with a Flask server to style images in your browser using neural style transfer. Clicking on the Chrome extension in the top right of your browser will bring up a popup that allows you to enter in an image url you would like to use as a style, with Pablo Picasso's Girl with a Mandolin as a default. After you have clicked the popup dragging over an image will start the process of transforming it's style.
- Install Python 3.7 (earlier versions may work but have not been tested)
- Use pip to install the following: tensorflow, tensorflow_hub, keras, Pillow, flask, flask_cors (python3 -m pip install "module name")
- In command prompt make your current directory .../Lyffe-Style-Flask-Server/FlaskStyleTransfer/
- Run the command python3 -m flask run
- Note: If you are on a Mac and your server crashes due to an URL fetch error, go to your python3.7 folder in Applications and run the "install Certificates.command" file (make sure you have admin permissions)
- Open up Google Chrome
- Go to the link chrome://extensions/
- Toggle on developer mode, in the top right corner, if not already done
- Click on the Load Unpacked button and select the folder Final Version
- Click the update button
- Flask - Web application framework
- Tensorflow Hub - Arbitrary Style Transfer
-
Kaleb Sverdrup - general work - WeaselWonka
-
Skylar Hoffman - general work - sky121
-
Jacob Huang - front end - jacobjh1
-
Jacob Huang - front end - jingwl13