How to get color palette from image using opencv? [closed]
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . I'd like to extract the color palette of an image, similar to this (from here): I need it to extract specific colors like yellow, green, and brown and display the percentage of the area covered by that color. Also, I can add more colors to extract. How can I reduce the number of