.NET 6.0 .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.  net8.0 was computed.  net8.0-android was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.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 (84)

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


Dotnet core windows utility

GitHub repositories (18)

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
Advanced real-time screen translator for games, hardcoded subtitles in videos, static text and etc.
The world's simplest facial recognition api for .NET on Windows, MacOS and Linux
.NET/C# binding for Baidu paddle inference library and PaddleOCR
一款优雅的UWP文件管理器 | An elegant UWP Explorer
Version Downloads Last updated 94,356 7/10/2023 270,559 1/15/2023 311,992 6/8/2022 259,884 12/31/2021 31,735 12/28/2021 17,846 12/7/2021 1,997 12/5/2021 128,093 8/21/2021 34,339 7/25/2021 170,888 4/4/2021 68,277 2/10/2021 2,715 2/8/2021 1,829 2/6/2021 30,880 1/24/2021 34,177 12/29/2020 8,308 12/26/2020 83,186 10/13/2020 41,881 9/16/2020 79,832 7/25/2020 52,281 7/8/2020 147,417 5/27/2020 55,985 4/21/2020 19,255 4/5/2020 67,372 2/8/2020 89,435 1/8/2020 12,871 12/23/2019 32,717 12/17/2019 46,416 11/10/2019 14,643 10/27/2019 1,503 10/25/2019 1,972 10/23/2019 2,514 10/18/2019 173,301 4/16/2019 27,988 3/26/2019 67,855 1/8/2019 5,811 12/25/2018