Code Monkey home page Code Monkey logo

photo_effect's Introduction

photo_effect

A web application that renders an effect on an image uploaded by user using python image processing libraries.

Techstack:

  1. Python
  2. Flask
  3. HTML
  4. CSS
  5. Bootstrap

Workflow:

  1. User uploads image
  2. Image processed using image processing libraries like OpenCV
  3. User downloads image

Steps to launch application

NOTE: It is vital that you install Python before moving on to subsequent steps.

  1. Go to https://www.python.org/ and install the latest version compatible with your system
  2. Fork and clone the repo
  3. Create a virtual environment through the following command
    virtualenv venv
    
  4. Activate the virtualenv
  • (Windows)
    venv\Scripts\activate
    
  • (Linux)
    source venv/bin/activate
    
    NOTE: After you are done working on the application you can deactivate environment by
    deactivate
    
  1. Move to the cloned directory
cd photo_effect
  1. Open up the terminal and intall the necessary dependencies by the following command
    pip install -r requirements.txt
    
  2. Now that we have the essential dependencies lets launch the application through the following commands.
  • (Windows)
    set FLASK_APP = start.py
    flask run
    
  • (Linux)
    export FLASK_APP = start.py
    flask run
    
  1. It is possible that while running the application you run into " pakage not found" error. In this case all you need to do to install the necessary package is
    pip install package_name
    
  2. Start contributing to the project, comment on an issue if you want to work on it, you can also suggest new issues that you would like to work on!

References:

  1. Flask documentation https://flask.palletsprojects.com/en/1.1.x/
  2. OpenCV documentation https://opencv.org/
  3. Flask & OpenCV session recordings:

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.