OpenCvSharp4.runtime.win.slim 4.13.0.20260318

dotnet add package OpenCvSharp4.runtime.win.slim --version 4.13.0.20260318
                    
NuGet\Install-Package OpenCvSharp4.runtime.win.slim -Version 4.13.0.20260318
                    
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.runtime.win.slim" Version="4.13.0.20260318" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OpenCvSharp4.runtime.win.slim" Version="4.13.0.20260318" />
                    
Directory.Packages.props
<PackageReference Include="OpenCvSharp4.runtime.win.slim" />
                    
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 OpenCvSharp4.runtime.win.slim --version 4.13.0.20260318
                    
#r "nuget: OpenCvSharp4.runtime.win.slim, 4.13.0.20260318"
                    
#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 OpenCvSharp4.runtime.win.slim@4.13.0.20260318
                    
#: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=OpenCvSharp4.runtime.win.slim&version=4.13.0.20260318
                    
Install as a Cake Addin
#tool nuget:?package=OpenCvSharp4.runtime.win.slim&version=4.13.0.20260318
                    
Install as a Cake Tool

OpenCvSharp Native Runtime Package

This is an internal implementation package for OpenCvSharp. It provides the native OpenCV shared library (OpenCvSharpExtern) for a specific platform.

In most cases you do not need to reference this package directly. Use one of the all-in-one packages instead:

  • Windows: OpenCvSharp4.Windows or OpenCvSharp4.Windows.Slim
  • Linux: OpenCvSharp4 + OpenCvSharp4.official.runtime.linux-x64

The Linux linux-x64 packages are built on manylinux_2_28 (glibc 2.28) and work on Ubuntu 20.04+, Debian 10+, RHEL/AlmaLinux 8+, and other Linux distributions. The full (non-slim) package includes FFmpeg (LGPL v2.1) and Tesseract statically linked.

Linux highgui dependency: The full linux-x64 package uses GTK3 for highgui (Cv2.ImShow, Cv2.WaitKey, etc.). GTK3 is pre-installed on standard Ubuntu/Debian/RHEL environments. In minimal or container environments where it is absent, install it manually:

  • Ubuntu/Debian: apt-get install libgtk-3-0
  • RHEL/AlmaLinux: dnf install gtk3

For headless servers or minimal containers, use the slim package (OpenCvSharp4.official.runtime.linux-x64.slim) instead, which disables highgui and has no GUI dependencies.

Available Runtime Packages

Package Platform
OpenCvSharp4.runtime.win Windows x64
OpenCvSharp4.runtime.win.slim Windows x64 (slim)
OpenCvSharp4.official.runtime.linux-x64 Linux x64 (portable, manylinux_2_28)
OpenCvSharp4.official.runtime.linux-x64.slim Linux x64 (portable, manylinux_2_28, slim)
OpenCvSharp4.runtime.linux-arm Linux ARM
OpenCvSharp4.runtime.osx.10.15-x64 macOS 10.15+ x64

Note: OpenCvSharp4.official.runtime.ubuntu.22.04-x64, ubuntu.22.04-x64.slim, ubuntu.24.04-x64, and ubuntu.24.04-x64.slim are deprecated. Migrate to the portable linux-x64 packages.

Slim Profile

The slim packages bundle a smaller native library with a reduced OpenCV module set:

Modules
Enabled core, imgproc, imgcodecs, calib3d, features2d, flann, objdetect, photo
Disabled contrib, dnn, ml, video, videoio, highgui, stitching, barcode

Resources

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp is compatible.  netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard is compatible.  netstandard1.0 was computed.  netstandard1.1 was computed.  netstandard1.2 was computed.  netstandard1.3 was computed.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Phone wp8 was computed.  wp81 was computed.  wpa81 was computed. 
Windows Store netcore was computed.  netcore45 was computed.  netcore451 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.
  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on OpenCvSharp4.runtime.win.slim:

Package Downloads
Straights.Image

Read Straights and Sudoku grids from images (screenshots).

OpenCvSharp4.Windows.Slim

OpenCV 4.x wrapper slim package for Windows users. Enabled modules: core,imgproc,imgcodecs,calib3d,features2d,flann,objdetect,photo. Disabled modules: contrib,dnn,ml,video,videoio,highgui,stitching,barcode.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.13.0.20260318 152 3/18/2026
4.13.0.20260317 141 3/17/2026
4.13.0.20260308 185 3/8/2026
4.13.0.20260302 184 3/2/2026
4.13.0.20260228 135 2/28/2026
4.13.0.20260226 190 2/26/2026
4.13.0.20260225 140 2/25/2026
4.13.0.20260222 206 2/22/2026