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.
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.
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
-
Clone the Repository
git clone https://github.com/AmishiDesai04/image_filter_project.git cd image_filter_project
-
Install the Required Libraries
pip install pillow opencv-python numpy
-
Run the Application
python final.py
-
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.
-
Apply Filters: Use the provided buttons to apply different filters to the selected image:
- Inverted
- Gray Scale
- Blur
- Sketch
- Water Color
- Pencil Sketch
-
Exit: Click the "Exit" button to close the application.
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.