Skip to content

Python scripts for image processing using OpenCV library. Includes filters, resizing, and face detection. Well-documented and customizable for various tasks.

Notifications You must be signed in to change notification settings

abdiu34567/Python-Image-Processing-with-OpenCV

Repository files navigation

Python Image Processing with OpenCV

Alt Generated Image

Description

This project showcases various image processing techniques using the OpenCV library in Python. It includes examples of reading and displaying images, applying filters, performing edge detection, detecting faces, and extracting color channels.


Installation

  1. Clone the repository: git clone https://github.com/your-username/Python-Image-Processing-with-OpenCV.git
  2. Install the required packages: pip install -r requirements.txt

Usage

  1. Navigate to the project directory: cd Python-Image-Processing-with-OpenCV
  2. Run the desired script: python app.py
  3. Follow the instructions provided in the script's menu to execute the desired image processing task.

Scripts

  • image_processing.py: Contains the functions for the various image processing tasks.
  • app.py: The main script that runs the image processing application.

Resources


Examples

from image_processing import show_image, apply_filter, resize_image, detect_faces, extract_channels

img = 'im2.jpg'

# Show an image
show_image(img)

# Apply a filter to an image
apply_filter(img)

# Resize an image
resize_image(img, 500, 500)

# Detect faces in an image
detect_faces(img)

# extracts the color channels (Red, Green, Blue) from an image
extract_channels(img)

License

This project is licensed under the MIT License - see the LICENSE file for details.

Feel free to customize this ReadMe file as per your needs and requirements. Happy coding!

About

Python scripts for image processing using OpenCV library. Includes filters, resizing, and face detection. Well-documented and customizable for various tasks.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages