Skip to content

Commit 50e5bca

Browse files
committed
Added text to Nonogram Generator project
1 parent d1951bf commit 50e5bca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_projects/17NonogramGenerator.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ header:
66
teaser: assets/images/Nonogram.png
77
---
88

9+
This project was done as a fun project after college. I used Python, Pillow, and colormath to take a user provided image and convert it to the equivalent nonogram puzzle given a particular color-set. The first step reduces the size of the image to the size of the final puzzle. Then, a k-means clustering variation is applied to the pixel colors to reduce the number of colors. The cluster centers are initialized to the most common color-set colors in the image. After each iteration, the cluster centers are also reset to the most similar color-set colors.

0 commit comments

Comments
 (0)