fengsp / color-thief-py

Grabs the dominant color or a representative color palette from an image. Uses Python and Pillow.
http://lokeshdhakar.com/projects/color-thief/
Other
1.05k stars 126 forks source link

Inaccurate results #18

Open harshithdwivedi opened 4 years ago

harshithdwivedi commented 4 years ago

The results provided by the python wrapper seem to vary a lot as compared to the results provided by https://lokeshdhakar.com/projects/color-thief/#examples

For example, here's the result of the website as compared to the result of the py wrapper.

Screenshot 2020-04-28 at 7 00 07 PM

RGB: (219,210,202)

Whereas the python wrapper gives the RGB output as (61, 54, 40)

I tried alternating the quality from 10 to 1 but I can't get a result close to the original result.

bzxgcs commented 3 years ago

In my opinion, py wrapper gives a more accurate result. Just as your example shows, in no case should the program extract green from the picture, is it?