Building a Background Remover with Just the Canvas API
I built a background remover that runs entirely in the browser. No AI model, no server, no API calls. Just the Canvas API, some pixel math, and a flood fill algorithm.
It's not going to compete with Photoshop's subject detection. But for solid-color ...
tatelyman.hashnode.dev7 min read