dynamic config

This commit is contained in:
glmdev
2019-02-10 01:47:31 -06:00
parent 0a76d0099e
commit ef1b979c53
3 changed files with 31 additions and 28 deletions

View File

@@ -1,7 +1,6 @@
def average_color(x, y, w, h, image):
r, g, b = 0, 0, 0
count = 0
print([x, y, w, h])
for s in range(x, x + w + 1):
for t in range(y, y + h + 1):
pixlr, pixlg, pixlb = image[s, t]