4 ms·
How does it get the YIQ color? It seems to arbitrarily pick a background color.
by judk 12y ago
How does it get the YIQ color? It seems to arbitrarily pick a background color.
- mistercow 12y agoThe YIQ block is a reference algorithm using a simple model of color brightness. It decides if the color is "bright" or "dark" and then makes the text black or white according to that. It's there to demonstrate how the neural net can (if trained right) outperform the simpler model. But yes, the background colors are random. I agree it could use a bit of explanation.