awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

AI Background Removal Tools

Ranking updated Jun 30, 2026

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.

AI Background Removal Tools

Find the best repos with AI.We'll search the best matching repositories with AI.
  • nadermx/backgroundremovernadermx avatar

    nadermx/backgroundremover

    7,932View on GitHub↗

    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.

    PythonAI Background Removal and InpaintingImage Background ReplacersImage Background Removal
    View on GitHub↗7,932
  • peterl1n/backgroundmattingv2PeterL1n avatar

    PeterL1n/BackgroundMattingV2

    7,178View on GitHub↗

    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.

    PythonImage Background RemovalVirtual Camera Drivers
    View on GitHub↗7,178
  • imgly/background-removal-jsimgly avatar

    imgly/background-removal-js

    7,192View on GitHub↗

    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.

    TypeScriptImage Background Removal
    View on GitHub↗7,192
  • danielgatis/rembgdanielgatis avatar

    danielgatis/rembg

    21,911View on GitHub↗

    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.

    PythonBackground Removal ToolsCommand Line InterfacesImage Segmentation
    View on GitHub↗21,911
  • plemeri/transparent-backgroundplemeri avatar

    plemeri/transparent-background

    1,255View on GitHub↗

    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.

    PythonImage Background Removal
    View on GitHub↗1,255
  • fangfufu/linux-fake-background-webcamfangfufu avatar

    fangfufu/Linux-Fake-Background-Webcam

    1,697View on GitHub↗

    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.

    PythonML Background Replacements
    View on GitHub↗1,697
  • cyrildiagne/ar-cutpastecyrildiagne avatar

    cyrildiagne/ar-cutpaste

    14,577View on GitHub↗

    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.

    TypeScriptAI Background Removal and InpaintingImage Background Removal
    View on GitHub↗14,577
  • xuebinqin/u-2-netxuebinqin avatar

    xuebinqin/U-2-Net

    9,773View on GitHub↗

    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.

    PythonImage Background RemovalPortrait Masking
    View on GitHub↗9,773
  • iperov/deepfaceliveiperov avatar

    iperov/DeepFaceLive

    30,536View on GitHub↗

    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.

    PythonVirtual Camera DriversVirtual Camera Integration
    View on GitHub↗30,536
  • facebookresearch/segment-anythingfacebookresearch avatar

    facebookresearch/segment-anything

    54,353View on GitHub↗

    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.

    Jupyter NotebookObject Mask Generators
    View on GitHub↗54,353
  • geekyutao/inpaint-anythinggeekyutao avatar

    geekyutao/Inpaint-Anything

    7,642View on GitHub↗

    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.

    Jupyter NotebookImage Background Replacers
    View on GitHub↗7,642
  • sanster/lama-cleanerSanster avatar

    Sanster/lama-cleaner

    23,235View on GitHub↗

    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.

    PythonObject Mask Generators
    View on GitHub↗23,235
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
nadermx/backgroundremover7.9KPythonMITJun 9, 2026
peterl1n/backgroundmattingv27.2KPythonMITJun 19, 2024
imgly/background-removal-js7.2KTypeScriptAGPL-3.0Jul 18, 2025
danielgatis/rembg21.9KPythonmitFeb 19, 2026
plemeri/transparent-background1.3KPythonMITMay 29, 2025
fangfufu/linux-fake-background-webcam1.7KPythonGPL-3.0Feb 24, 2026
cyrildiagne/ar-cutpaste14.6KTypeScriptMITMar 4, 2023
xuebinqin/u-2-net9.8KPythonApache-2.0Jun 26, 2024
iperov/deepfacelive30.5KPythongpl-3.0Nov 8, 2024
facebookresearch/segment-anything54.4KJupyter NotebookApache-2.0Sep 18, 2024

Related searches

  • a web interface for AI image generation
  • a toolkit for AI face animation
  • a model for universal image segmentation
  • a library for AI image upscaling
  • an open source tool for face swapping
  • a visual regression testing tool for UI components
  • a toolkit for AI video generation
  • an open source photo editing software