This is a HTML5 and JavaScript-heavy color detector to see what the dominant colors of a given image are. I used Charles Leifer's technique (http://charlesleifer.com/blog/using-python-and-k-means-to-find-the-dominant-colors-in-images/) to figure the colors out. I haven't tested it thoroughly, but it seems to only work with JPEG images so make sure you upload one of those! Future work will probably include more contrast-based coloring and more image support. Right now the browser occasionally crashes too, I think there's an infinite loop not being closed. But it usually works and that's what matters.
forked from cassidoo/Color-Detect
-
Notifications
You must be signed in to change notification settings - Fork 0
dsc0d3/Color-Detect
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
JavaScript + HTML5 app to detect dominant colors in an image
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 75.9%
- HTML 16.8%
- CSS 7.3%