Using Python and k-means in HSV color space to find dominant colors in images