# 使用 Homebrew 安装 caire

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

## 安装

```sh
sudo av install brew:caire
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install caire
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:caire
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/caire>
- **版本:** 1.5.0
- **来源摘要:** Content aware image resize tool
- **主页:** <https://github.com/esimov/caire>
- **仓库:** <https://github.com/esimov/caire>
- **上游文档:** <https://github.com/esimov/caire#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/esimov/caire/archive/refs/tags/v1.5.0.tar.gz>
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- caire (cli)
- caire (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.5.0
- 本地数据: OK
- 上游仓库: https://github.com/esimov/caire
- 检测到的最新版本: v1.5.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

Caire is a Go content-aware image resizing tool and library based on seam carving, with command-line, batch, mask, face-detection, and preview features.

### 项目历史

The public repository was created in January 2018. The README defines Caire as a content-aware image resize library based on the Seam Carving for Content-Aware Image Resizing paper and documents the algorithmic flow: energy-map generation, dynamic-programming seam selection, and repeated seam removal.

Caire grew beyond a minimal seam-carving demo into a CLI-oriented package with shrinking and enlarging, horizontal and vertical resizing, face detection through the author's Pigo library, stdin/stdout support, recursive concurrent directory processing, protective and removal masks, multiple image formats, and a GUI preview mode.

### 采用历史

Caire achieved broad visibility for a single-purpose media CLI: the GitHub project has far more stars than most Homebrew image utilities in this batch, and the README documents installation by go install and Homebrew. The project also advertises Snap and OpenFaaS integrations.

### 使用方式

Users resize images with caire -in input.jpg -out output.jpg, optionally setting width, height, percentage, square output, masks, blur and Sobel thresholds, debug seam visualization, face protection, or directory input. It can also work in Unix pipelines by reading from stdin and writing to stdout.

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

Caire is interesting because it packages a visually demonstrable computer-vision algorithm as a simple Go binary. For package managers it is the kind of niche CLI that proves image-processing research can become a one-command install.

### 时间线

- 2018: Public Caire repository created.
- 2021: 1.4.0 release published.
- 2023: 1.4.6 release published.
- 2025: 1.5.0 release published.

### Related projects

- The README names the original seam-carving paper as the algorithmic basis.
- Pigo, another project by the same author, is used for face detection to avoid face deformation.
- The README links Caire integrations for OpenFaaS and Snap.

### 来源

- <https://api.github.com/repos/esimov/caire>
- <https://api.github.com/repos/esimov/caire/releases>
- <https://github.com/esimov/caire#readme>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** caire
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [babl](https://www.automicvault.com/zh-hans/pkg/brew/babl/) - Shares av.db curated category or tags: cli, image-processing, media.
- [camellia](https://www.automicvault.com/zh-hans/pkg/brew/camellia/) - Shares av.db curated category or tags: cli, image-processing, media.
- [epsilon](https://www.automicvault.com/zh-hans/pkg/brew/epsilon/) - Shares av.db curated category or tags: cli, image-processing, media.
- [exact-image](https://www.automicvault.com/zh-hans/pkg/brew/exact-image/) - Shares av.db curated category or tags: cli, image-processing, media.
- [exiftran](https://www.automicvault.com/zh-hans/pkg/brew/exiftran/) - Shares av.db curated category or tags: cli, image-processing, media.
- [faceprints](https://www.automicvault.com/zh-hans/pkg/brew/faceprints/) - Shares av.db curated category or tags: cli, image-processing, media.
- [gd](https://www.automicvault.com/zh-hans/pkg/brew/gd/) - Shares av.db curated category or tags: cli, image-processing, media.
- [gegl](https://www.automicvault.com/zh-hans/pkg/brew/gegl/) - Shares av.db curated category or tags: cli, image-processing, media.
- [glyph](https://www.automicvault.com/zh-hans/pkg/brew/glyph/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, image-processing, media, processing.
- [nip4](https://www.automicvault.com/zh-hans/pkg/brew/nip4/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, image-processing, media, processing.

## Combined YAML source

View the package source record on GitHub. [combined/caire.yml](https://github.com/automic-vault/db/blob/main/combined/caire.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
