Skip to content

menorashid/cross_stitchofy

Repository files navigation

cross_stitchofy

Makes a cross stitch pattern from a picture. You can specify the scale of your pattern, the number of colors you want, and the type of clustering you want (rgb or hsv). You can also play around with how your pattern is saved so that it's easy to read. Colors are clustered before downsampling.. sometimes the opposite is better. Change lines 86-87 if you want to try that.

To see options type

python cross_stitchofy.py -h

Example

python cross_stitchofy.py sky_eye.jpg

Takes this input image

generates this 8 color rgb clustering

and then makes a cross stitch pattern from it:

About

make a cross stitch pattern from a picture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages