From f3123e38c3f370141a0837b8c3bd853991ac8ace Mon Sep 17 00:00:00 2001 From: mattmcw Date: Mon, 23 Oct 2023 00:01:31 -0400 Subject: [PATCH] WIP --- py/posterize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/posterize.py b/py/posterize.py index 86e278d..0ee00aa 100644 --- a/py/posterize.py +++ b/py/posterize.py @@ -48,7 +48,7 @@ class Posterize: def determine_colors (self): reshaped = self.image.reshape(-1, self.image.shape[2]) self.original_colors = np.unique(reshaped, axis=0) - print(self.original_colors) + #print(self.original_colors) for i in range(self.n_colors) : mask = self.extract_color(self.image, self.original_colors[i]) cv2.imwrite(f'{i}.png', mask)