# 使用 Homebrew, Nix 安装 backgroundremover

查看 backgroundremover 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:backgroundremover
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install backgroundremover
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#backgroundremover
```

  证据: nixpkgs package indexes: pkgs/by-name/ba/backgroundremover/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:backgroundremover
- **软件包管理器:** Homebrew
- **版本:** 0.4.5
- **来源摘要:** Remove background from images and video using AI
- **主页:** <https://backgroundremoverai.com>
- **最后更新:** 2026-07-11T03:30:54Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- backgroundremover (别名)
- backgroundremover-server (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.4.5
## 项目历史与用法

BackgroundRemover is an open-source command-line and server tool for removing backgrounds from images and video with AI models. It packages a common creator workflow behind a Python CLI instead of a hosted-only web service.

### 项目历史

The GitHub repository was created in May 2021, and the README says the tool was made by nadermx to power BackgroundRemoverAI.com. The first GitHub release listed by the repository is v0.1.1 in July 2021, with later releases continuing into 2026.

The README documents a practical evolution from simple local image/video processing toward Docker usage, GPU acceleration, folder processing, stdin/stdout pipelines, and an HTTP API server exposed through backgroundremover-server.

### 采用历史

The official README points users to PyPI for installation and documents Docker use for repeatable local runs. The supplied package-manager facts show Homebrew and Nix packages, which gives the project an unusually convenient path for a Python/PyTorch media utility.

### 使用方式

Users run backgroundremover against image files, videos, folders, standard input, or an HTTP upload endpoint. The README documents U2-Net model choices, alpha matting, custom background replacement, mask-only output, GPU fallback behavior, and model caching under ~/.u2net for Docker runs.

### 为什么软件包爱好者会关心

BackgroundRemover matters to package nerds as an example of AI media tooling becoming a normal CLI package: it wraps PyTorch, ffmpeg, model downloads, optional GPU acceleration, and server mode into a tool installable from general package managers.

### 时间线

- 2021: GitHub repository created for nadermx/backgroundremover.
- 2021: v0.1.1 published as the earliest GitHub release listed by the repository.
- 2025: README documents folder processing, pipe usage, Docker model persistence, and GPU guidance.
- 2026: v0.4.4 published in GitHub releases.

### Related projects

- The README names PyTorch and torchvision as core requirements, ffmpeg for video processing, and U2-Net model variants for segmentation. BackgroundRemoverAI.com is the hosted service the README says the tool was made to power.

### 来源

- <https://api.github.com/repos/nadermx/backgroundremover>
- <https://api.github.com/repos/nadermx/backgroundremover/releases>
- <https://github.com/nadermx/backgroundremover#readme>
- source_facts.package-manager


## 安全说明

没有找到 backgroundremover 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- Nix - backgroundremover: normalized package name match | nixpkgs package indexes: pkgs/by-name/ba/backgroundremover/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/backgroundremover.yml](https://github.com/mxcl/pkgdb/blob/main/combined/backgroundremover.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
