# shimat/opencvsharp

OpenCV wrapper for .NET

Repository: https://github.com/shimat/opencvsharp
Canonical: https://ross.abutalabs.com/products/opencvsharp
Homepage: http://shimat.github.io/opencvsharp/
Language: C#
License: Apache-2.0
License Family: permissive
Topics: opencv, wrapper, dotnet, nuget, opencvsharp, image-processing, machine-learning, computer-vision, dotnetstandard, nuget-packages, native-bindings
Last push: 2026-08-24T01:37:07+00:00

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

## Adoption (not part of the score)
Stars 6072, forks 1241 (observed 2026-08-28T04:09:34.782157+00:00)

## What it is
OpenCvSharp is a cross-platform .NET wrapper for the OpenCV computer vision library, published as NuGet packages with bundled native binaries. Its API closely mirrors the native OpenCV C++ API while using C# conventions like typed enums, exceptions, and deterministic disposal.

## Use cases
- use OpenCV from C# or .NET applications
- process and transform images in ASP.NET Core
- detect features and match keypoints in .NET
- build image processing pipelines in C#
- read and write video files from .NET
- run computer vision in the browser via Blazor WebAssembly
- port existing OpenCV C++ or Python code to .NET

## When to choose
- you need OpenCV functionality in a .NET application
- you want an API that maps closely to native OpenCV so C++/Python examples translate easily
- you need cross-platform support including Windows, Linux, macOS, and WebAssembly
- you want native binaries delivered via NuGet without manual builds

## When to avoid
- you are using Python, C++, or Java, where native OpenCV bindings are more direct
- you need .NET Framework support and prefer the actively developed OpenCvSharp5 line (use OpenCvSharp4 instead)
- you need GPU/CUDA modules that may not be included in the packaged native binaries

## Facets
- artifact type: library
- maturity: active
- function: image-processing, computer-vision, machine-learning
- domain: computer-vision, image-processing, cross-platform
- platform: windows, wasm, dotnet, cross-platform
- tags: opencv, wrapper, native-bindings, nuget, csharp, blazor, linux, macos

## Member repositories
- shimat/opencvsharp (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:34.782157+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:48:33.979212+00:00, confidence not recorded.
  - readme: https://github.com/shimat/opencvsharp (fetched 2026-08-28T04:09:34.782157+00:00, sha 4f3a9f51bf12)
  - homepage: http://shimat.github.io/opencvsharp/ (fetched 2026-08-29T08:45:00.778817+00:00, sha 6d5a730bd773)
- Data as of 2026-08-30T08:39:29.467469+00:00.
