This web application allows you to easily convert regular images into high-quality pencil sketches using computer vision techniques.
- Upload any image file
- Convert images to high-quality pencil sketches
- Adjustable sketch parameters (e.g., sketch intensity, color adjustments)
- Real-time preview of the sketch
- Download the converted sketch in multiple formats
- Python 3.x
- OpenCV (cv2) - For image processing
- Streamlit - For building the web interface
- NumPy - For numerical operations
Follow the steps below to set up the project:
-
Clone the repository:
git clone https://github.com/protyayofficial/Image-Sketch.git
-
Navigate to the project directory:
cd Image-Sketch
-
Install the required dependencies:
pip install -r requirements.txt
To run the web application:
-
Start the application with Streamlit:
streamlit run app.py
-
Open your browser and go to
http://localhost:8501
. -
Upload an image you want to convert into a sketch.
-
Adjust the sketch parameters to customize the output.
-
Download the generated pencil sketch to your device.
Ensure you have the following installed:
- Python 3.6+
- opencv-python
- streamlit
- numpy
This project is licensed under the MIT License.
Happy sketching! ✨