# esimov/caire

Content aware image resize library

Repository: https://github.com/esimov/caire
Canonical: https://ross.abutalabs.com/products/caire
Language: Go
License: MIT
License Family: permissive
Topics: seam-carving, image-processing, image-resize, edge-detection, golang, face-detection, computer-vision, machine-learning, content-aware-scaling, content-aware-resize
Last push: 2025-05-02T08:19:39+00:00

## Health v2 (maintenance only)
Score: 31/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 19, release rhythm 8, longevity 100
- inputs: {"age_days": 3159, "days_push": 488, "days_rel": 493, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 10465, forks 386 (observed 2026-08-28T04:10:42.055618+00:00)

## What it is
Caire is a content-aware image resize library written in Go, based on the seam carving algorithm. It intelligently shrinks or enlarges images by removing or adding the least important pixels, with optional face detection to protect faces during resizing.

## Use cases
- resize images without distorting important content
- shrink a photo while keeping people's faces intact
- convert an image from landscape to portrait without cropping
- batch content-aware image resizing from the command line
- enlarge an image by extending low-energy background areas

## When to choose
- you need content-aware resizing in Go or as a CLI tool
- you want seam carving with face detection support
- you need both shrinking and enlarging with aspect ratio changes

## When to avoid
- you just need simple uniform scaling or cropping
- you need real-time resizing of many images, since seam carving is computationally expensive
- you need a GUI-first image editor

## Facets
- artifact type: library
- maturity: active
- function: image-processing, computer-vision, cli
- domain: image-processing, computer-vision
- platform: go, cross-platform, cli
- tags: seam-carving, content-aware-resize, edge-detection, face-detection, command-line

## Member repositories
- esimov/caire (main) score 31

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:42.055618+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:18:59.609437+00:00, confidence not recorded.
  - readme: https://github.com/esimov/caire (fetched 2026-08-28T04:10:42.055618+00:00, sha 7c013d29e701)
- Data as of 2026-08-30T08:39:29.467469+00:00.
