Share your repls and programming experiences

← Back to all posts
24
A smart background removal tool 🎨

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!

Commentshotnewtop
4

This is amazing I have been looking for a tool like this!

1

@IEATPYTHON Thanks - let me know if there's anything I can improve :)

4

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 📐

2

This is the best background remover ever.

1

Meow.... Meow, Meow, Meow....
(Yay..., it's not allowed on my domain, and google thinks its sketchy...)

1

@Butter_Cat But newly observed domains are the coolest ones around 🙄

I love having https://4ty2.fun

2

@jajoosam fortiguard has unblocked it