nadermx/backgroundremover

Background Remover lets you Remove Background from images and video using AI with a simple command line interface that is free and open source.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 12 minutes ago
Added to GitGenius on September 8th, 2026
Created on May 24th, 2021
Open Issues & Pull Requests: 2 (+0)
GitHub issues: Enabled
Number of forks: 651
Total Stargazers: 8,050 (+0)
Total Subscribers: 49 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 23.1 days
Mean response time: 155.1 days
90th percentile: 676.5 days
Tracked items: 74

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 6% of issues opened in the past year have been closed. Three people close 99% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 2
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 887 days
Stale 30+ days: 2
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • enhancement (5)
  • bug (2)
  • good first issue (2)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

BackgroundRemover is a command line tool that removes backgrounds from images and videos using AI.

The tool addresses the need for automated background removal by leveraging deep learning models, specifically the U2Net architecture, to segment and isolate foreground subjects. It processes both static images and video files through a straightforward command line interface, automatically downloading required models on first run. The approach uses PyTorch for inference and FFmpeg for video handling, with automatic GPU acceleration when available, typically delivering five to ten times faster processing on GPU compared to CPU execution.

Developers should choose this tool if they need batch background removal capabilities without a graphical interface or cloud dependencies. It suits projects requiring local processing of images in formats including JPG, PNG, HEIC, and HEIF, as well as video files. The tool can process entire folders of images or videos at once, with configurable output locations. Installation via pip or Docker is available, though Docker users processing video should allocate adequate shared memory to avoid operation errors. GPU support requires a CUDA-compatible PyTorch installation, with automatic fallback to CPU if GPU is unavailable.

The project maintains active responsiveness to user issues and feature requests, with developers addressing GPU detection problems, memory constraints, and installation troubleshooting through documented solutions. The codebase receives updates addressing edge cases such as CUDA version mismatches and batch size optimization for memory-constrained systems. Development activity shows attention to cross-platform compatibility, including specific guidance for Windows users and Docker deployments with particular focus on shared memory configuration for video processing.