okaneco / kmeans-colors

k-means clustering library and binary to find dominant colors in images
Apache License 2.0
133 stars 9 forks source link

Prepare metadata for 0.4.0 release, small fixups #41

Closed okaneco closed 3 years ago

okaneco commented 3 years ago

Update cargo dependencies Implement Default for HamerlyPoint Change Sort::sort_indexed_colors to use &[Self] instead of &Vec Use if let in get_dominant_color to avoid unwrap Convert for_each to for loops to make future Result handling possible