import numpy, scipy.cluster, collections from PIL import Image, ImageDraw def dominant_colors(image): """ Input: PIL image Output: A lis