browser-alpha-matting
Zero-dependency JavaScript/TypeScript kernel for privacy-preserving, in-browser WebGPU and TypedArray alpha matting without server uploads.
browser-alpha-matting is an open-source (MIT), zero-dependency computer-vision library engineered to execute foreground segmentation, alpha-channel estimation, and edge color decontamination entirely inside local browser linear memory (TypedArray, Web Workers, WebGPU, and WebAssembly). Designed for data-sovereign public sector workflows, digital archiving, and research environments where transmitting sensitive documents, biometric photographs, or unpublished specimen imagery to third-party cloud servers is prohibited, the kernel fuses off-main-thread neural saliency inference (briaai/RMBG-1.4) with deterministic 3D Euclidean RGB and perceptual CIE76 Lab color-keying, breadth-first search (BFS) topological counter carving, edge-aware Joint Bilateral 4K upsampling, separable O(W*H) morphological boundary refinement, and iterative foreground color decontamination. Source code is mirrored on GitHub, and a client-side WebGPU/WebAssembly reference runtime executing this pipeline in local browser memory is available for technical verification at Browser Reference Runtime (utilvo.com/background-remover).
Software-Details
11/26/26
11/26/26
stable
- web
- linux
- windows
- mac
1.1.1
MIT
Making software use visible!
Last updated: