https://github.com/nirbhaykr87/imagecartoonizer
This Flask app lets users upload images and convert them into cartoonized versions using edge detection and color quantization. The process involves reading the image, detecting edges, reducing colors with k-means clustering, and blending for a cartoon effect. Try it out by running the app and uploading an image!
https://github.com/nirbhaykr87/imagecartoonizer
clustering-algorithm flask python
Last synced: about 2 months ago
JSON representation
This Flask app lets users upload images and convert them into cartoonized versions using edge detection and color quantization. The process involves reading the image, detecting edges, reducing colors with k-means clustering, and blending for a cartoon effect. Try it out by running the app and uploading an image!
- Host: GitHub
- URL: https://github.com/nirbhaykr87/imagecartoonizer
- Owner: nirbhaykr87
- Created: 2024-06-01T15:33:23.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-06-01T15:45:03.000Z (12 months ago)
- Last Synced: 2025-01-25T20:43:02.201Z (4 months ago)
- Topics: clustering-algorithm, flask, python
- Language: HTML
- Homepage:
- Size: 7.35 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 📸 Image Cartoonizer
This Flask application allows users to upload an image and convert it into a cartoonized version. The process involves edge detection and color quantization to create a cartoon effect.
## Features
- **🖼️ Image Upload:** Users can upload an image file.
- **🌟 Edge Detection:** Detects edges in the image using adaptive thresholding.
- **🎨 Color Quantization:** Reduces the number of colors in the image using k-means clustering.
- **✨ Cartoonization:** Combines edge detection and color quantization to produce a cartoonized image.## Prerequisites
- Python
- Flask
- OpenCV
- NumPy
### Running the App
1. Run the Flask application:
```bash
python app.py
```2. Open a web browser and go to `http://127.0.0.1:5000/`.
3. Upload an image to see it cartoonized.
Enjoy transforming your images into cartoons! 🖼️✨
---

[](https://www.linkedin.com/in/nirbhaykrmuj/)Happy Coding! 🎉