from operator import itemgetter
import colorsys
-import ImageDraw
+from PIL import ImageDraw
import filters
import k_means
if show_all:
import matplotlib.pyplot as pyplot
- import Image
+ from PIL import Image
fig = pyplot.figure(figsize=(8, 6))
luma = [s[0] for s in board_raw]
saturation = [s[1] for s in board_raw]