For a tool for AI background removal, the strongest matches are nadermx/backgroundremover (Backgroundremover is an AI-powered tool that removes backgrounds from), peterl1n/backgroundmattingv2 (BackgroundMattingV2 is a deep learning matting framework that isolates) and imgly/background-removal-js (This is a client-side neural matting library that removes). danielgatis/rembg and plemeri/transparent-background round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Open-source libraries and applications that utilize machine learning models to automatically detect and remove image backgrounds.
Backgroundremover is an AI-powered tool that removes backgrounds from both images and videos, accessible through a command-line interface and a Python API. At its core, it uses a pre-trained deep learning model to classify each pixel as foreground or background, producing a binary mask for removal. The tool distinguishes itself through multiple integration methods and output capabilities. It can process images and videos via Unix pipeline data streams, operate as an HTTP API server, or be called programmatically within Python scripts. Users can choose among different AI models to balance proc
Backgroundremover is an AI-powered tool that removes backgrounds from images and videos via CLI and Python API, supporting batch processing, background replacement, and HTTP integration — squarely the category, though it lacks explicit portrait detection and real-time processing flags.
BackgroundMattingV2 is a deep learning background matting tool and real-time image segmentation framework. It provides a system for isolating foreground subjects from high-resolution images and video feeds in real time. The project includes a deep learning model trainer for optimizing matting models through base convergence and end-to-end refinement. It also functions as a cross-runtime model exporter, converting trained neural networks into interchangeable formats for deployment across different software environments and hardware runtimes. The framework supports streaming processed webcam f
BackgroundMattingV2 is a deep learning matting framework that isolates foreground subjects in real time from images and video, enabling AI-powered background removal and replacement; it lacks integrated batch processing and a dedicated API but squarely fits the core need for a real-time background editing tool.
Background Removal JS is a client-side neural matting library that runs a lightweight AI model directly in the browser to compute alpha mattes, removing image backgrounds without uploading any data to a server. It functions as a browser-based image background removal SDK and client-side image matting library, keeping all processing on the user's device to eliminate server costs and preserve privacy. The project provides a cross-platform creative editing engine that produces identical image and video output across web, mobile, desktop, and server environments from a single codebase. It offers
This is a client-side neural matting library that removes image backgrounds using AI entirely in the browser without server uploads, and it can support background replacement by compositing the alpha matte; it lacks explicit human/portrait detection, batch processing, and real-time video support, making it a solid match for background removal but narrower in scope than the full replacement and batch workflow requested.
Rembg is a machine learning-based toolkit designed for automated image background removal and subject segmentation. It functions as a versatile engine that identifies and extracts subjects from images, supporting diverse input methods including individual files, directory-based batch processing, and live binary data streams. The project distinguishes itself through its flexible integration options, offering a command-line interface for local automation, a library for programmatic access, and an HTTP service for remote requests. It utilizes deep learning architectures to classify pixels and ge
Rembg is a machine learning toolkit for automated background removal and subject segmentation that also offers background color replacement, batch processing, and multiple integration methods (CLI, library, HTTP service), making it a direct fit for AI-powered background removal, though it lacks explicit human/portrait detection and real-time/video support.
This software is a computer vision utility designed for automated subject isolation and background removal. It provides a graphical desktop interface that allows users to extract foreground subjects from static images, video files, and live webcam streams without requiring command-line interaction. The application leverages deep learning models to generate high-fidelity alpha masks, enabling the creation of transparent backgrounds or the application of custom replacements. By utilizing hardware-accelerated tensor processing, the system performs real-time segmentation on live camera feeds and
This repository is a deep-learning-powered tool for removing backgrounds from images and videos, which directly matches the AI background removal part of your search, though it does not explicitly emphasize automated background replacement or specialized human/portrait detection.
This project is a system-level utility for Linux that intercepts, modifies, and presents live webcam feeds as standard virtual video devices. By creating a bridge between physical hardware and user-space applications, it allows video conferencing software to consume processed streams as if they were native camera inputs. The software distinguishes itself through its ability to manage the lifecycle of video processing tasks as persistent background services. It monitors virtual device activity to dynamically allocate resources, ensuring that image processing and hardware usage are suspended wh
This Linux tool uses AI (MediaPipe, TensorFlow Lite) to remove and replace webcam backgrounds in real-time, fitting the category for video use but lacking batch processing or API integration for static images.
ar-cutpaste is an augmented reality asset extraction tool and prototype designed to isolate objects from a live camera feed and transfer them into image editing software. It functions as a mobile-to-desktop bridge that uses machine learning to remove backgrounds from live images, creating digital cutouts for use in image composition. The system establishes a local server connection to transmit image data and spatial coordinates from a mobile device to a design application. This bridge uses a remote socket mechanism and a secure password to inject captured assets directly into a desktop worksp
This prototype uses machine learning to isolate objects from a live camera feed and transfer them to desktop editing software, so it performs real-time AI background removal but not replacement within the tool, and lacks batch processing, API integration, and dedicated human/portrait detection.
U-2-Net is a PyTorch image segmentation framework and computer vision saliency model designed to generate high-resolution foreground-background masks. It functions as an AI background removal tool that identifies and isolates the most visually prominent objects within an image. The model utilizes a nested U-structure design to detect salient objects, creating precise cutouts by predicting saliency maps. These capabilities enable the separation of main subjects from their surroundings to create transparent images. The framework covers several image processing workflows, including automatic ba
U-2-Net is a deep-learning model that generates precise foreground masks for automatic background removal, but it is a segmentation component rather than a complete tool and does not include built-in background replacement or the additional features like batch processing and API support that you are likely seeking.
DeepFaceLive is a desktop application designed for real-time facial replacement and animation within live video streams. By utilizing deep learning models, the software performs high-speed identity mapping and facial feature analysis to transform video content as it is captured. The engine relies on GPU-accelerated inference to execute these complex image manipulation tasks at interactive frame rates. The application distinguishes itself through a modular video processing pipeline that chains specialized tasks to maintain high throughput and low latency. It features a virtual camera streaming
DeepFaceLive is a real-time facial replacement and animation tool for live video, not a background removal and replacement tool — while it manipulates images with AI, its core capability is face swapping rather than isolating and replacing backgrounds, which is what this search is after.
This project provides a deep learning architecture designed to identify and isolate distinct objects within images by generating precise pixel-level masks. It functions as a browser-based inference engine, enabling the execution of complex machine learning models directly within web environments without requiring server-side processing. The system distinguishes itself by utilizing hardware-accelerated execution and parallel processing to achieve real-time segmentation speeds. It supports prompt-based mask decoding, allowing users to generate spatial masks by providing specific points or boxes
Segment Anything is a general-purpose image segmentation model that can identify objects and generate masks, which is a core component for background removal, but it is not a dedicated background removal and replacement tool—it lacks background replacement, human/portrait detection, batch processing, and an API out of the box.
Inpaint-Anything is a diffusion-based image editor and inpainting tool designed to remove or replace objects in images, videos, and 3D scenes. It functions as a text-guided manipulator that uses natural language descriptions and mask-based filling to modify visual content. The system provides specialized capabilities for multi-view 3D scene editing and video object removal. It tracks selected objects across multiple frames or perspectives to synthesize consistent backgrounds and maintain spatial coherence after an element is removed. The tool covers a range of image manipulation tasks, inclu
Inpaint-Anything is a diffusion-based inpainting tool that can remove and replace backgrounds, but its core identity is a general object editor and inpainting system rather than a dedicated one-click background removal and replacement tool, and it lacks batch processing and API features typical of such tools.
Lama Cleaner is an AI-powered image editing application focused on inpainting, object removal, and generative filling. It provides a suite of tools for erasing unwanted elements from photos and filling the resulting gaps using generative artificial intelligence. The project includes specialized capabilities for image outpainting to extend borders, background removal through object segmentation, and face restoration to fix visual defects. It also features an image upscaler to increase resolution and clarity via super-resolution AI, as well as a Stable Diffusion-based editor for replacing speci
Lama Cleaner is an AI image editing toolkit that can remove backgrounds via object segmentation and replace them using generative inpainting, but its primary focus is broad inpainting and object removal rather than being a dedicated background removal and replacement tool, and it lacks explicit human detection, batch processing, and video support.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| nadermx/backgroundremover | 7.9K | Python | MIT | |
| peterl1n/backgroundmattingv2 | 7.2K | Python | MIT | |
| imgly/background-removal-js | 7.2K | TypeScript | AGPL-3.0 | |
| danielgatis/rembg | 21.9K | Python | mit | |
| plemeri/transparent-background | 1.3K | Python | MIT | |
| fangfufu/linux-fake-background-webcam | 1.7K | Python | GPL-3.0 | |
| cyrildiagne/ar-cutpaste | 14.6K | TypeScript | MIT | |
| xuebinqin/u-2-net | 9.8K | Python | Apache-2.0 | |
| iperov/deepfacelive | 30.5K | Python | gpl-3.0 | |
| facebookresearch/segment-anything | 54.4K | Jupyter Notebook | Apache-2.0 |