Skip to content

This Python-based Image Filter Project enables users to apply diverse image filters to their images. This project combines the functionality of Tkinter for the GUI, Pillow for image handling, and OpenCV for image processing to create a robust tool for basic image editing tasks. Follow the instructions in this document to set up and run the project.

Notifications You must be signed in to change notification settings

AmishiDesai04/image_filter_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Image Filter Project – Python

The Image Filter Project is a Python-based application designed to enable users to apply a variety of image filters to their images. This versatile tool allows users to select an image from their device, capture an image using their webcam, or utilize a default image. The application offers several filter options, including grayscale, inverted, blur, sketch, watercolor, and pencil sketch.

Features

Image Selection: Users can choose to:

  • Select from Device: Browse and open an image file from their computer.
  • Capture Image: Use the webcam to capture a new image.
  • Default Image: Use a pre-defined default image.

Filter Options: Users can apply the following filters to their selected image:

  • Grayscale: Convert the image to grayscale.
  • Inverted: Invert the colors of the image.
  • Blur: Apply a blur effect to the image.
  • Sketch: Convert the image to a pencil sketch.
  • Watercolor: Apply a watercolor effect to the image.
  • Pencil Sketch: Create a detailed pencil sketch of the image.

Prerequisites

To run this project, ensure that you have the following software installed:

  • Python 3.x
  • Pillow: pip install pillow
  • OpenCV: pip install opencv-python
  • NumPy: pip install numpy
  • Tkinter

Instalation

  1. Clone the Repository

    git clone https://github.com/AmishiDesai04/image_filter_project.git
    cd image_filter_project
    
  2. Install the Required Libraries

    pip install pillow opencv-python numpy
    

Usage

  1. Run the Application

    python final.py
    
  2. Select an Image:

    • From Device: Choose the "Select from your device" option and browse to select an image file.
    • Capture Image: Choose the "Capture Image" option to use the webcam. Follow the on-screen instructions to capture an image.
    • Default Image: Choose the "Default Picture" option to use the predefined image.
  3. Apply Filters: Use the provided buttons to apply different filters to the selected image:

    • Inverted
    • Gray Scale
    • Blur
    • Sketch
    • Water Color
    • Pencil Sketch
  4. Exit: Click the "Exit" button to close the application.

Application Layout

image

Authors

This project is co-owned by: @AmishiDesai04 @chahelgupta @reneeka

Please don't hesitate to offer suggestions, report any issues you encounter, share your feedback, or engage in any other form of communication! Your input is highly valued and appreciated.

About

This Python-based Image Filter Project enables users to apply diverse image filters to their images. This project combines the functionality of Tkinter for the GUI, Pillow for image handling, and OpenCV for image processing to create a robust tool for basic image editing tasks. Follow the instructions in this document to set up and run the project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages