Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mayssemhannachi/lgmvip-datascience-task-3

This project is a demonstration of how to use Python and OpenCV to transform images into pencil sketches. It’s a simple yet powerful example of image processing that involves several key steps:
https://github.com/mayssemhannachi/lgmvip-datascience-task-3

image-processing jupyter-notebook python3 sketch

Last synced: 5 days ago
JSON representation

This project is a demonstration of how to use Python and OpenCV to transform images into pencil sketches. It’s a simple yet powerful example of image processing that involves several key steps:

Awesome Lists containing this project

README

        

# Image to Pencil Sketch Conversion with Python

## Overview

This project demonstrates how to convert an image into a pencil sketch using Python and OpenCV. The process involves converting an image to grayscale, inverting it, blurring the inverted image, and then combining it with the original grayscale image to create a pencil sketch effect.

## Features

- Convert any image into a pencil sketch.
- Compare the original image and the pencil sketch side by side.
- Reusable function to process multiple images.

## Installation

To run this project, you'll need to have Python installed, along with the following libraries:

- **OpenCV** (`cv2`)
- **Matplotlib**

You can install these libraries using `pip`:

```bash
pip install opencv-python matplotlib