Skip to content

A Python and OpenCV module-built Photoshop web application with multiple filters and image processing features that is operational in bright light.

License

Notifications You must be signed in to change notification settings

adarshsankarrs/PhotoshopApp

Repository files navigation

Photoshop Tool using Python and OpenCV

A photoshop web app deployed in streamlit having various filters and image processing capabilities built using Python and OpenCV modules.

made-with-python issues forks stars

Author

Table of contents

Features

  • Filter Modules

    • Bright
    • Detail Enhance
    • Invert
    • Summer
    • Winter
    • Daylight
    • High Contrast
    • Sepia
    • Splash
    • Emboss
    • 60s TV
    • Dual tone
    • Cartoon
    • Pencil Drawing
    • Comic
  • Converting Image to Sketch

  • Image Inpainting

  • Document Scanner

  • Adding Titles to Images

  • Crop Images

  • Edge and contour detection

  • Face detection

  • Feature Detection

Installation steps

Install Anaconda

  https://www.anaconda.com/products/individual

Create a conda environment and activate it

  $ conda create streamlitapp
  $ conda activate streamlitapp

Install required packages from requirements.txt

  # Clone this repository and cd into it
  $ cd 
  $ pip install -r requirements.txt

Run the streamlit app

  $ streamlit run app.py  

Screenshots

Filter Modules:

High Contrast:

Input Types Accepted: jpg, jpeg, png
(Webpage interface is same as Bright and Detail enhancement pages)

Bright:

Input Types Accepted: jpg, jpeg, png

Detail Enhancement:

Input Types Accepted: jpg, jpeg, png

Invert:

Input Types Accepted: jpg, jpeg, png
(Webpage interface is same as Bright and Detail enhancement pages)

Summer:

Input Types Accepted: jpg, jpeg, png
(Webpage interface is same as Bright and Detail enhancement pages)

Winter:

Input Types Accepted: jpg, jpeg, png
(Webpage interface is same as Bright and Detail enhancement pages)

Daylight:

Input Types Accepted: jpg, jpeg, png
(Webpage interface is same as Bright and Detail enhancement pages)

Sepia:

Input Types Accepted: jpg, jpeg, png
(Webpage interface is same as Bright and Detail enhancement pages)

Splash:

Input Types Accepted: jpg, jpeg, png
(Webpage interface is same as Bright and Detail enhancement pages)

Note: The splash filter only works successfully for images with objects having high contrast colors (Eg: Yellow and Blue). The image given below is a good example over which the splash filter works successfully.

Emboss:

Input Types Accepted: jpg, jpeg, png
(Webpage interface is same as Bright and Detail enhancement pages)

60s TV:

Input Types Accepted: jpg, jpeg, png
(Webpage interface is same as Bright and Detail enhancement pages)

Note: This filter also consists of 2 other input parameters the noise and threshold values. Our Webpage provides a slider widget to set these parameter values seamlessly. The image example given below shows the interface and outputs.

Dual Tone:

Input Types Accepted: jpg, jpeg, png
(Webpage interface is same as Bright and Detail enhancement pages)

Pencil Drawing:

Input Types Accepted: jpg, jpeg, png
(Webpage interface is same as Bright and Detail enhancement pages)

Comic (Using K-Means):

Input Types Accepted: jpg, jpeg, png
(Webpage interface is same as Bright and Detail enhancement pages)

Image to Sketch Module:

Input Types Accepted: jpg, jpeg, png
(Webpage interface is same as Bright and Detail enhancement pages)

Image inpainting Module:

Input Types Accepted: jpg, jpeg, png
(Webpage interface is same as Bright and Detail enhancement pages)

Note: This module takes 2 images as its inputs: the first benign our original image and the second is the mask image of the section to be removed or inpainted over. The images given below shows the type of input images and the output generated.

Doc Scanner Module:

Input Types Accepted: jpg, jpeg, png
(Webpage interface is same as Bright and Detail enhancement pages)

Add Title to Image Module:

Input Types Accepted: jpg, jpeg, png
(Webpage interface is same as Bright and Detail enhancement pages)

Edge and contour module

Crop Image Module:

Input Types Accepted: jpg, jpeg, png

Face and Feature Detection Module:

Input Types Accepted: jpg, jpeg, png

About

A Python and OpenCV module-built Photoshop web application with multiple filters and image processing features that is operational in bright light.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages