Skip to content

prateekralhan/Facial-Cartoonizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👻👽 Facial Cartoonizer 👾🤖 Project Status: Active

A minimalistic Web application that makes use of a simple facial image cartoonization network to generate cartoon sketch like output for any image fed as input ( based on CVPR2020 White-box cartoonizaiton paper ).

Live app available here.

 

Installation:

  • Simply execute the command 8pip install -r requirements.txt* to install the necessary dependencies.

Usage:

  1. Clone this Repository to a directory and navigate to that directory.
  2. Run the command: python app.py
  3. This will run the web-app on localhost. Upload your desired Image and it will automatically download the cartoonized version of the same in your system.
  4. Feel free to play around with the codes, add more features, beautify it. 😉

 

 

 


NOTE: 1. Ensure your entire web app folder structure is maintained in the same format as you see here ( as in case of Flask ).

Running the Dockerized App

  1. Ensure you have Docker Installed and Setup in your OS (Windows/Mac/Linux). For detailed Instructions, please refer this.
  2. Navigate to the folder where you have cloned this repository ( where the Dockerfile is present ).
  3. Build the Docker Image (don't forget the dot!! 😄 ):
docker build --tag cartoonizer_app .
  1. Run the docker:
docker run --publish 8000:8080 --detach --name bb cartoonizer_app

This will launch the dockerized app. Navigate to localhost:8000 in your browser to have a look at your application. You can check the status of your all available running dockers by:

docker ps

Citations: