๐๏ธ Streamlit app to generate a paint-by-number version of a picture.
Per usual, clone the repo, create a virtual environment and install the project:
git clone https://github.com/anacltd/paint-by-number.git
cd paint-by-number
python3.10 -m venv venv
source venv/bin/activate
pip install -e .To launch the Streamlit app:
streamlit run cd src/paint_by_number/app.pyClicking Download results will download a ZIP file containing the colour-blocked image, the colour palette and the paint-by-number version.
That's it!
The paint-by-number version of the picture is not 100% accurate, especcially if the picture has many tiny details.