← all repositories
pangxiaobin/image-matting

A desktop AI background-remover that won't phone home

A Vue-and-Python GUI wrapper around RMBG-1.4 for local, offline image matting, format conversion, and ID-photo cropping.

image-matting
Not currently ranked — collecting fresh signals.
star history

What it does

image-matting is a desktop app that wraps the open-source briaai/RMBG-1.4 model in a Vue frontend and Python backend. It removes backgrounds from single images or batches, then lets you crop, erase, undo, and export to PNG, JPG, or PSD. It also converts formats (including GIF frame extraction), compresses images, and has a dedicated ID-photo mode for passport-style portraits. Everything runs locally; no cloud API calls.

The interesting bit

The author is refreshingly honest: this is a learning project for AI deployment, GUI development, and i18n. That modesty hides a genuinely useful trait — the app is fully offline, yet still offers batch processing, secondary editing, and even an HTTP API (localhost:11111) for headless use. The PSD export with embedded original data is a nice touch for designers who need to backtrack.

Key highlights

  • Local inference via RMBG-1.4; no network required after model download
  • Batch matting, format conversion, and compression in one tool
  • Built-in editor with pan, zoom, eraser, and paint-back (undo/redo works)
  • GIF-to-frame-sequence conversion for per-frame matting workflows
  • Bilingual UI (Chinese/English) with dark/light themes
  • CC BY-NC 4.0 license — explicitly non-commercial

Caveats

  • Windows-only runtime headaches: requires Edge WebView2 or recent Microsoft Edge, and may crash with STATUS_ILLEGAL_INSTRUCTION on outdated installs
  • AVIF support was planned then abandoned per issue #10
  • Non-commercial license limits serious adoption; the author prohibits removing attribution in redistributed builds

Verdict

Worth a look if you want a free, offline background remover with more format flexibility than most web tools. Skip it if you need commercial use, cross-platform polish, or AVIF support.

Frequently asked

What is pangxiaobin/image-matting?
A Vue-and-Python GUI wrapper around RMBG-1.4 for local, offline image matting, format conversion, and ID-photo cropping.
Is image-matting open source?
Yes — pangxiaobin/image-matting is an open-source project tracked on heatdrop.
What language is image-matting written in?
pangxiaobin/image-matting is primarily written in Vue.
How popular is image-matting?
pangxiaobin/image-matting has 1.5k stars on GitHub.
Where can I find image-matting?
pangxiaobin/image-matting is on GitHub at https://github.com/pangxiaobin/image-matting.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.