# nihui/opencv-mobile

The minimal opencv for Android, iOS, ARM Linux, Windows, Linux, MacOS, HarmonyOS, WebAssembly, watchOS, tvOS, visionOS

Repository: https://github.com/nihui/opencv-mobile
Canonical: https://ross.abutalabs.com/products/opencv-mobile
Language: C++
License: Apache-2.0
License Family: permissive
Topics: opencv, android, ios, arm-linux, windows, linux, macos, webassembly, harmonyos, tvos, visionos, watchos
Last push: 2026-07-12T12:55:31+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 92, release rhythm 68, longevity 100
- inputs: {"age_days": 2063, "days_push": 52, "days_rel": 52, "gap_med": 94.5, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3345, forks 461 (observed 2026-08-28T04:07:57.017952+00:00)

## What it is
opencv-mobile provides minimal, prebuilt OpenCV binary packages for Android, iOS, ARM Linux, Windows, Linux, macOS, HarmonyOS, WebAssembly, and Apple watchOS/tvOS/visionOS. It dramatically shrinks OpenCV package sizes (e.g. 25 MB vs 303 MB for Android) while keeping the core image-processing and computer-vision modules.

## Use cases
- add opencv to an android app without a 300mb dependency
- use opencv on ios with a small binary footprint
- run opencv on arm linux embedded boards
- use opencv in webassembly browser apps
- build computer vision apps for harmonyos
- get prebuilt opencv binaries for multiple platforms without compiling from source

## When to choose
- you need a small-footprint OpenCV build for mobile, embedded, or web targets
- you want prebuilt binaries instead of compiling OpenCV yourself
- you only need core OpenCV modules like imgproc, imgcodecs, and core

## When to avoid
- you need the full OpenCV module set including contrib modules or CUDA acceleration
- you need to customize OpenCV build flags beyond what the minimal build offers
- you target only desktop platforms where full OpenCV packages are acceptable

## Facets
- artifact type: library
- maturity: active
- function: image-processing, computer-vision, developer-tools
- domain: computer-vision, image-processing, cross-platform, mobile-development, embedded-systems
- platform: windows, wasm, cross-platform, cpp
- tags: opencv, minimal-build, prebuilt-binaries, harmonyos, apple-platforms, embedded-vision, android, ios, linux, macos

## Member repositories
- nihui/opencv-mobile (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:57.017952+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-29T18:41:01.275927+00:00, confidence not recorded.
  - readme: https://github.com/nihui/opencv-mobile (fetched 2026-08-28T04:07:57.017952+00:00, sha 399611470779)
- Data as of 2026-08-30T08:39:29.467469+00:00.
