Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 385 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 385 Bytes

dominant-color

Its a machine learning problem to identify dominant colors of the picture

Approach

  • Image pixels are flattened and clustered using K-Means Algorithm to find the dominant color centroids
  • filter_neutral_colors function is used to filter out neutral colors from the identified centroids
  • plot_colors2 function plots the color values in percentages in histogram