Spaces:
Running
Running
File size: 1,025 Bytes
a7355c3 a28a3af a7355c3 69aa03c 05ccb0c 4e08a80 05ccb0c 73dce95 ddea58e 73dce95 80744df 73dce95 80744df 73dce95 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
---
title: image2coloringbook
emoji: ✏️
colorFrom: red
colorTo: indigo
sdk: gradio
sdk_version: "3.46.0"
app_file: app.py
pinned: false
---
# image2coloringbook

A simple tool that converts an image into a coloring book. It runs on a custom implementation of the k-means clustering algorithm by default but comes with the option to use scikit-learn's implementation.
This [Colab notebook](https://colab.research.google.com/drive/1S91AsP2XHUKuxtUBEaFlboWd8ScAndcz?usp=sharing) explains how the coloring books are generated.
## Usage
The application is available as a [Hugging Face space](https://shawnljw-image2coloringbook.hf.space).
To run the application locally, clone this repo and open the directory in your terminal.
Install all requirements with pip:
```shell
pip install -r requirements.txt
```
Once all requirements are installed, you can run the web ui with:
```shell
gradio app.py
``` |