This is a real-time webcam-based artistic filter application built with Python and OpenCV. The app allows users to apply various artistic effects, such as sketching, cartoonification, and edge detection, to a live webcam feed.
- Sketch Filter: Converts the live video into a pencil sketch effect.
- Cartoon Filter: Applies a cartoon-like filter to the video.
- Edge Detection: Highlights the edges in the video using the Canny edge detection algorithm.
- Normal Feed: Displays the original video without any filters.
- Clone the repository:
git clone https://github.com/YOUR_USERNAME/artistic-filter-app.git
- Install dependencies:
pip install opencv-python
- Run the script:
python artistic_filter.py
- Use the following keys to switch filters:
s: Apply Sketch Filterc: Apply Cartoon Filtere: Apply Edge Detectionn: Return to Normal Feedq: Quit the app
- Python 3.7+
- OpenCV