colorSpace is a smart background removal tool based completely on the front end, so your pictures never leave your computer.
It gets colors in an image through the HTML canvas, converts them to the Lab colorspace (makes difference measures intuitive to human vision) - and measures the euclidian difference between colors, and purges them from an image based on the threshold.
More in this tweet!
From twitter for the curious:
Why smart? 🧠
It measures the actual euclidian distance between colors - possible since they're represented in a 3 axis system!
It was a super cool application of the Pythagoras theorem I learnt in school a couple of years ago 📐