pastel
pastel copied to clipboard
Pick colours from an image
Are there plans to add a feature to extract colours from images?
Example
pastel extract <image> -n 5 which would return the 5 most present colours in the image.
Thank you
Interesting idea.
the 5 most present colours
How does this work? If there is a large patch of different oranges, and a smaller patch of blues in an image, how do we make sure to get both blue and orange... and not just five different oranges?
Principal component analysis? Or something similar?