Comment

Comment by Kamogo

Thanks! Essentially it splits the image into emoji-sized parts and finds the dominant color of that part using color-thief.js. It then converts the RGB value into the LAB color space and finds the closest emoji match using the CIE76 color difference algorithm. The emojis are also handpicked to ensure no small ones like the plane and car get in.
parent Kamogo 11 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton