Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> the 4 most common colors

maybe it would be better to weight pixels by the energy density of the image region so that backgrounds (sky, walls) don't dominate the resultant colors over the (usually more significant) foreground/detailed objects



I have a few todo improvements, but if you'd like to see this one tested/implemented, add as an issue on the github!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: