CodeBrix.VideoProcessing.OpenCV5.Wpf.ApacheLicenseForever 1.0.195.358

There is a newer version of this package available.
See the version list below for details.
dotnet add package CodeBrix.VideoProcessing.OpenCV5.Wpf.ApacheLicenseForever --version 1.0.195.358
                    
NuGet\Install-Package CodeBrix.VideoProcessing.OpenCV5.Wpf.ApacheLicenseForever -Version 1.0.195.358
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CodeBrix.VideoProcessing.OpenCV5.Wpf.ApacheLicenseForever" Version="1.0.195.358" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeBrix.VideoProcessing.OpenCV5.Wpf.ApacheLicenseForever" Version="1.0.195.358" />
                    
Directory.Packages.props
<PackageReference Include="CodeBrix.VideoProcessing.OpenCV5.Wpf.ApacheLicenseForever" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CodeBrix.VideoProcessing.OpenCV5.Wpf.ApacheLicenseForever --version 1.0.195.358
                    
#r "nuget: CodeBrix.VideoProcessing.OpenCV5.Wpf.ApacheLicenseForever, 1.0.195.358"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CodeBrix.VideoProcessing.OpenCV5.Wpf.ApacheLicenseForever@1.0.195.358
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CodeBrix.VideoProcessing.OpenCV5.Wpf.ApacheLicenseForever&version=1.0.195.358
                    
Install as a Cake Addin
#tool nuget:?package=CodeBrix.VideoProcessing.OpenCV5.Wpf.ApacheLicenseForever&version=1.0.195.358
                    
Install as a Cake Tool

CodeBrix.VideoProcessing.OpenCV5

A fully managed .NET binding for OpenCV 5, derived from the OpenCvSharp5 project, providing image processing, video capture/analysis, camera calibration, object detection, machine learning, and the OpenCV contrib extra modules to .NET applications on Windows, Linux, and macOS (x64 and ARM64). CodeBrix.VideoProcessing.OpenCV5 has no managed dependencies other than .NET, and is provided as a .NET 10 library and associated CodeBrix.VideoProcessing.OpenCV5.ApacheLicenseForever NuGet package, plus per-platform native binding packages (see below).

CodeBrix.VideoProcessing.OpenCV5 supports applications and assemblies that target Microsoft .NET version 10.0 and later. Microsoft .NET version 10.0 is a Long-Term Supported (LTS) version of .NET, and was released on Nov 11, 2025; and will be actively supported by Microsoft until Nov 14, 2028. Please update your C#/.NET code and projects to the latest LTS version of Microsoft .NET.

CodeBrix.VideoProcessing.OpenCV5 supports:

  • The OpenCV 5 core, imgproc, imgcodecs, videoio, video, calib3d, features, flann, dnn, ml, objdetect, photo, stitching, and highgui modules via the Cv2 static class and the Mat family of types
  • The OpenCV contrib extra modules: aruco, barcode, face, img_hash, line_descriptor, quality, saliency, shape, text, tracking, wechat_qrcode, xfeatures2d, ximgproc, xphoto, dnn_superres, and more
  • Windows x64 and ARM64, Linux x64 and ARM64, and macOS x64 and Apple Silicon via per-platform native runtime packages
  • WPF interop (MatBitmapSource / WriteableBitmap) via the CodeBrix.VideoProcessing.OpenCV5.Wpf.ApacheLicenseForever package
  • Built-in Roslyn analyzers that catch common Mat usage mistakes (undisposed Row/Col results, Mat property access in loop conditions) at compile time

The package family

NuGet package Contents
CodeBrix.VideoProcessing.OpenCV5.ApacheLicenseForever The managed binding (all platforms) + Roslyn analyzers
CodeBrix.VideoProcessing.OpenCV5.Wpf.ApacheLicenseForever WPF BitmapSource/WriteableBitmap converters (Windows only)
CodeBrix.VideoProcessing.OpenCV5.WindowsX64.ApacheLicenseForever Native binding for Windows x64 (includes the FFmpeg videoio plugin)
CodeBrix.VideoProcessing.OpenCV5.WindowsArm64.ApacheLicenseForever Native binding for Windows ARM64
CodeBrix.VideoProcessing.OpenCV5.LinuxX64.ApacheLicenseForever Native binding for Linux x64
CodeBrix.VideoProcessing.OpenCV5.LinuxArm64.ApacheLicenseForever Native binding for Linux ARM64
CodeBrix.VideoProcessing.OpenCV5.MacOSX64.ApacheLicenseForever Native binding for macOS x64
CodeBrix.VideoProcessing.OpenCV5.MacOSArm64.ApacheLicenseForever Native binding for macOS ARM64 (Apple Silicon)

Applications reference the core package plus the native runtime package(s) matching their target platform(s).

Sample Code

Reading, processing, and saving an image

using CodeBrix.VideoProcessing.OpenCV5;

using var src = Cv2.ImRead("input.jpg", ImreadModes.Grayscale);
using var dst = new Mat();

Cv2.Canny(src, dst, 50, 200);
Cv2.ImWrite("edges.png", dst);

Capturing frames from a video file

using CodeBrix.VideoProcessing.OpenCV5;

using var capture = new VideoCapture("movie.mp4");
using var frame = new Mat();

while (capture.Read(frame))
{
    // process each frame ...
}

License

The project is licensed under the Apache 2.0 License. see: https://en.wikipedia.org/wiki/Apache_License

CodeBrix.VideoProcessing.OpenCV5 is derived from the OpenCvSharp project by shimat and contributors (https://github.com/shimat/opencvsharp), also licensed under the Apache 2.0 License. See THIRD-PARTY-NOTICES.txt for full attribution, including the provenance of the vendored native libraries.

Product Compatible and additional computed target framework versions.
.NET net10.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.204.221 38 7/23/2026
1.0.195.358 88 7/14/2026
1.0.193.377 94 7/12/2026
1.0.189.394 99 7/8/2026