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.
- 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.
- Clone the repository:
git clone https://github.com/your-username/image-processing-app.git cd image-processing-app
- Install the required packages:
pip install -r requirements.txt
- Run the Streamlit app:
streamlit run app.py
- Open your web browser and go to http://localhost:8501.
- Use the sidebar to upload an image and select the desired operation.
- Adjust the parameters for the selected operation using the provided sliders.
- The processed image will be displayed in the main window.
- Click the "Save Image" button to save the processed image as processed_image.jpg.