# hollance/CoreMLHelpers

Types and functions that make it a little easier to work with Core ML in Swift.

Repository: https://github.com/hollance/CoreMLHelpers
Canonical: https://ross.abutalabs.com/products/coremlhelpers
Language: Swift
License: MIT
License Family: permissive
Topics: coreml, core-ml, machine-learning, swift, ios
Last push: 2022-09-06T03:05:25+00:00

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

## Adoption (not part of the score)
Stars 1433, forks 189 (observed 2026-08-28T04:04:43.270708+00:00)

## What it is
A collection of Swift types and helper functions that simplify working with Apple's Core ML framework, such as image-to-CVPixelBuffer conversion, MLMultiArray utilities, and non-maximum suppression. It is designed to be copied file-by-file into projects rather than used as a package.

## Use cases
- convert images to CVPixelBuffer for Core ML input
- convert MLMultiArray output to an image
- get top-5 predictions and argmax from model output
- apply non-maximum suppression to bounding boxes
- use a Swift-friendly wrapper around MLMultiArray

## When to choose
- you're building an iOS app with Core ML and need image preprocessing helpers
- you want ready-made NMS or argmax utilities for vision models
- you prefer copying small source files instead of adding a dependency

## When to avoid
- you need a package installable via Swift Package Manager, Carthage, or CocoaPods
- you want a stable, well-tested API with unit tests
- you're not developing on Apple platforms with Swift

## Facets
- artifact type: library
- maturity: maintenance
- function: image-processing, machine-learning, sdk, developer-tools
- domain: machine-learning, mobile-development, computer-vision
- platform: -
- tags: coreml, swift, cvpixelbuffer, mlmultiarray, non-maximum-suppression, apple, helper-library, ios, apple-ecosystem, mobile

## Member repositories
- hollance/CoreMLHelpers (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:43.270708+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-30T04:36:57.576165+00:00, confidence not recorded.
  - readme: https://github.com/hollance/CoreMLHelpers (fetched 2026-08-28T04:04:43.270708+00:00, sha 89a687bb0af6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
