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-browser 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)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (93)

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


Wrapper over Selenium WebDriver for .NET

GitHub repositories (18)

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

Repository Stars
Advanced real-time screen translator for games, hardcoded subtitles in videos, static text and etc.
.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
.NET/C# binding for Baidu paddle inference library and PaddleOCR
一款优雅的UWP文件管理器 | An elegant UWP Explorer
Version Downloads Last updated 31,001 1/3/2024 159,797 7/10/2023 329,858 1/15/2023 331,354 6/8/2022 276,208 12/31/2021 39,953 12/28/2021 18,799 12/7/2021 2,467 12/5/2021 134,600 8/21/2021 35,471 7/25/2021 178,112 4/4/2021 70,641 2/10/2021 3,261 2/8/2021 2,379 2/6/2021 33,399 1/24/2021 41,820 12/29/2020 9,710 12/26/2020 85,899 10/13/2020 43,028 9/16/2020 88,411 7/25/2020 55,274 7/8/2020 150,647 5/27/2020 57,328 4/21/2020 20,654 4/5/2020 68,454 2/8/2020 91,818 1/8/2020 14,316 12/23/2019 33,764 12/17/2019 50,234 11/10/2019 15,377 10/27/2019 2,018 10/25/2019 2,481 10/23/2019 3,076 10/18/2019 176,440 4/16/2019 29,210 3/26/2019 69,357 1/8/2019 6,721 12/25/2018