Rahul-Jain-1 / Image-Processing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image Processing App

This is a Streamlit application for performing various image processing operations using the Python Imaging Library (PIL). Users can upload an image and apply operations such as rotation, cropping, converting to grayscale, blurring, sharpening, and brightness adjustment.

You can use the application online at this link.

Features

  • Rotate: Rotate the image by a specified number of degrees.
  • Crop: Crop the image by specifying the top, bottom, left, and right crop percentages.
  • Convert to Grayscale: Convert the image to grayscale.
  • Blur: Apply a Gaussian blur to the image with a specified radius.
  • Sharpen: Sharpen the image with a specified factor.
  • Brightness Adjustment: Adjust the brightness of the image with a specified factor.

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/image-processing-app.git
    cd image-processing-app
    
  2. Install the required packages:
pip install -r requirements.txt

Usage

  1. Run the Streamlit app:
  streamlit run app.py
  1. Open your web browser and go to http://localhost:8501.
  2. Use the sidebar to upload an image and select the desired operation.
  3. Adjust the parameters for the selected operation using the provided sliders.
  4. The processed image will be displayed in the main window.
  5. Click the "Save Image" button to save the processed image as processed_image.jpg.

About


Languages

Language:Python 100.0%