# Julioacarrettoni/UIImageView_FaceAwareFill

This category applies Aspect Fill content mode to an image and if faces are detected it centers them instead of centering the image just by its geometrical center.

Repository: https://github.com/Julioacarrettoni/UIImageView_FaceAwareFill
Canonical: https://ross.abutalabs.com/products/uiimageview_faceawarefill
Language: Objective-C
License: MIT
License Family: permissive
Last push: 2025-06-19T00:00:59+00:00

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

## Adoption (not part of the score)
Stars 1062, forks 73 (observed 2026-08-28T04:03:26.068868+00:00)

## What it is
An Objective-C category on UIImageView that applies Aspect Fill content mode while detecting faces via Core Image and centering the crop on them instead of the image's geometric center. It is distributed as a CocoaPods library for iOS apps.

## Use cases
- crop avatar photos so faces stay centered in circular profile images
- display user-uploaded photos in fixed-size image views without cutting off faces
- build a photo feed where thumbnails focus on people rather than the image center
- implement face-aware aspect fill for a social app's image gallery
- avoid manually cropping images before showing them in a UIImageView

## When to choose
- you are building an iOS app in Objective-C or Swift that shows photos in UIImageView with Aspect Fill
- you want faces to remain visible when images are cropped to fit fixed-size views
- you need a lightweight drop-in category rather than a full image-processing pipeline

## When to avoid
- you need face detection or cropping on platforms other than iOS
- you require high-accuracy or real-time face detection with modern ML models
- your project does not use UIImageView or UIKit

## Facets
- artifact type: library
- maturity: maintenance
- function: image-processing, computer-vision, ui-components
- domain: image-processing, mobile-development, computer-vision
- platform: -
- tags: uiimageview, face-detection, aspect-fill, core-image, cocoapods, objective-c-category, photo-cropping, ios, swift, mobile

## Member repositories
- Julioacarrettoni/UIImageView_FaceAwareFill (main) score 35

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:26.068868+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-30T06:56:42.308324+00:00, confidence not recorded.
  - readme: https://github.com/Julioacarrettoni/UIImageView_FaceAwareFill (fetched 2026-08-28T04:03:26.068868+00:00, sha b98f0a2e9241)
- Data as of 2026-08-30T08:39:29.467469+00:00.
