.NET 6.0 .NET Core 3.1 .NET Standard 2.0 .NET Framework 4.8
dotnet add package OpenCvSharp4 --version
NuGet\Install-Package OpenCvSharp4 -Version
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="OpenCvSharp4" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenCvSharp4 --version
#r "nuget: OpenCvSharp4,"
#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.
// Install OpenCvSharp4 as a Cake Addin
#addin nuget:?package=OpenCvSharp4&version=

// Install OpenCvSharp4 as a Cake Tool
#tool nuget:?package=OpenCvSharp4&version=

OpenCV wrapper for .NET. Since this package includes only core managed libraries, another package of native bindings for your OS is required (OpenCvSharp4.runtime.*).

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (73)

Showing the top 5 NuGet packages that depend on OpenCvSharp4:

Package Downloads

OpenCV 4.x wrapper. All-in-one package for Windows users.


OpenCvSharp WPF extension library.


OpenCvSharp GDI+ extension library.


OpenCV for VL


Automation test extension for API/Web/Mobile/Performance with enabled dotnet core support and other features. This package includes the AutoTestExtras framework assembly, which is referenced by your automation tests.

GitHub repositories (14)

Showing the top 5 popular GitHub repositories that depend on OpenCvSharp4:

Repository Stars
.Net port of the original java-based barcode reader and generator library zxing
The world's simplest facial recognition api for .NET on Windows, MacOS and Linux
一款优雅的UWP文件管理器 | An elegant UWP Explorer
.NET/C# binding for Baidu paddle inference library and PaddleOCR
Silver Bullet
Version Downloads Last updated 122,111 1/15/2023 254,150 6/8/2022 220,228 12/31/2021 19,746 12/28/2021 15,290 12/7/2021 1,507 12/5/2021 115,720 8/21/2021 32,312 7/25/2021 156,017 4/4/2021 61,989 2/10/2021 2,214 2/8/2021 1,363 2/6/2021 24,712 1/24/2021 28,550 12/29/2020 6,671 12/26/2020 76,106 10/13/2020 39,890 9/16/2020 70,482 7/25/2020 47,984 7/8/2020 138,017 5/27/2020 53,454 4/21/2020 17,004 4/5/2020 65,064 2/8/2020 85,509 1/8/2020 11,198 12/23/2019 31,212 12/17/2019 40,127 11/10/2019 13,722 10/27/2019 1,039 10/25/2019 1,503 10/23/2019 2,089 10/18/2019 166,166 4/16/2019 25,701 3/26/2019 64,725 1/8/2019 4,814 12/25/2018