Developer builds fully client-side image editor using browser-native AI and WebAssembly
A developer has created APIC-Web, a free browser-based image editor that performs background removal, object removal, filters, and format conversion entirely on the user's device, with no photo ever uploaded to a server. The tool leverages MediaPipe's on-device ML model, WebAssembly, and the HTML Canvas API to keep all processing local. For cleaner background removal, the editor uses confidence masks returning float probabilities per pixel rather than hard binary labels, enabling smoother edge feathering around fine details like hair. Object removal is handled through exemplar-based texture synthesis — a pre-generative-AI technique — since running diffusion models client-side without server infrastructure is not feasible. The project is publicly available as a static web page, and the developer has shared key technical lessons around mask handling and performance optimization for others building similar privacy-focused tools.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in