Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

lincolnh0/paint-by-numbers

Repository files navigation

Paint by numbers

A pythonic approach to generate paint by numbers like graphics using unsupervised learning(?)

Approach

Create random number of points in RGB space and group closest pixels, calculate average value and regroup until there are little changes of pixels between runs.

Currently, there will be groups that go unused and groups that are too big - future work could include dynamically splitting these groups to give more accurate colours.

Demo

Original Photo

Photo by Bruno Thethe from Pexels (Resized to 400x600)

Original

Post pixels grouping

Consists of 11 colours only

Post pixels grouping

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published