Spaces:
Running
Running
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 explains how the coloring books are generated.
Usage
Once you downloaded or cloned this repo, open the directory in your terminal.
If you have conda installed:
conda env create -f environment.yml
conda activate image2coloringbook
Otherwise create a virtual environment and install with pip
python -m venv image2coloringbook
image2coloringbook\Scripts\activate.bat
pip install -r requirements.txt
Once all requirements are installed, you can run the web ui with
gradio app.py