Last active
January 26, 2018 21:13
-
-
Save skt7/43dba7de070c3ab47ff3297972bcd4d1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
img = 'colors.jpg' | |
clusters = 5 | |
dc = DominantColors(img, clusters) | |
colors = dc.dominantColors() | |
dc.plotHistogram() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment