oaustegard / Lottie_Playlist

MIT License
2 stars 0 forks source link

Handle dominant vs vivid color #16

Closed oaustegard closed 2 years ago

oaustegard commented 2 years ago

Upon empirical testing of #13 -- actual sorting of test covers -- it becomes apparent that the lightness maybe should be done on the primary color, rather than the vivid color, as the primary color is by definition what dominates the image.

I.e. - use the vivid color's hue to place it into a partitioned color band, then use the lightness of the dominant color to sort within that band.

oaustegard commented 2 years ago

Tried this out with sorted_albums_test.py - further testing revealed #18, #19, #20:

screencapture-file-Users-austegard-Projects-Lottie-Playlist-sorted-albums-test-html-2022-04-11-23_07_21