Coder Social home page Coder Social logo

cartooning's Introduction

Cartoonize Your Image!

The web app for this image cartoonization: https://image-cartooning-app.herokuapp.com/

This is a web app to turn your photo into a cartoon-like image. There are four filters that you can choose from: Pencil Sketch, Detail Enhancement, Pencil Edges, and Bilateral Filter. Below is the example of the cartoonization after you apply each filter:

Pencil Sketch:

Detail Enhancement:

Pencil Edges:

Bilateral Filter:

Files

There are five files necessary to build this web app:

  • cartoon_app.py: main Python file of the app.
  • setup.sh: file to setup your configuration on Heroku.
  • requirements.txt: the file to tell Heroku which dependencies you need to build the app.
  • Procfile: file to tell Heroku which and how the command and file should be executed.
  • Aptfile: additional file for buildpacks to enable OpenCV to operate within Heroku.

In your Heroku app that you can access on Heroku, you need to add this buildpack: https://github.com/heroku/heroku-buildpack-apt to complement the Aptfile.

To add the buildpack: Go to your app on Heroku -> choose "Setting" tab on your app -> Then scroll down until you find Buildpacks section -> Click on "add buildpacks" -> paste the above URL.

With Heroku CLI you can use this command to add the buildpacks:

heroku create --buildpack https://github.com/heroku/heroku-buildpack-apt.git

cartooning's People

Contributors

namanjain323232 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.