OpenCvSharp5.official.runtime.linux-x64
5.0.0.20260723
Prefix Reserved
dotnet add package OpenCvSharp5.official.runtime.linux-x64 --version 5.0.0.20260723
NuGet\Install-Package OpenCvSharp5.official.runtime.linux-x64 -Version 5.0.0.20260723
<PackageReference Include="OpenCvSharp5.official.runtime.linux-x64" Version="5.0.0.20260723" />
<PackageVersion Include="OpenCvSharp5.official.runtime.linux-x64" Version="5.0.0.20260723" />
<PackageReference Include="OpenCvSharp5.official.runtime.linux-x64" />
paket add OpenCvSharp5.official.runtime.linux-x64 --version 5.0.0.20260723
#r "nuget: OpenCvSharp5.official.runtime.linux-x64, 5.0.0.20260723"
#:package OpenCvSharp5.official.runtime.linux-x64@5.0.0.20260723
#addin nuget:?package=OpenCvSharp5.official.runtime.linux-x64&version=5.0.0.20260723
#tool nuget:?package=OpenCvSharp5.official.runtime.linux-x64&version=5.0.0.20260723
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:
OpenCvSharp5.WindowsorOpenCvSharp5.Windows.Slim- Linux:
OpenCvSharp5+OpenCvSharp5.official.runtime.linux-x64
The
OpenCvSharp5.*runtime packages target OpenCV 5.x. An identically-namedOpenCvSharp4.*counterpart (OpenCV 4.13.0) is also published for .NET Framework / older runtimes.
🔄 Already using OpenCvSharp4? See the Migration Guide (4 → 5) on GitHub for target framework changes, package/namespace renames, and OpenCV 5 API changes.
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
highguidependency: The fulllinux-x64package uses GTK3 forhighgui(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 gtk3For headless servers or minimal containers that still need
videoio,dnn,ml,contrib,stitching, etc., use the headless package (OpenCvSharp5.official.runtime.linux-x64.headless) instead: same module set as full,highguidisabled, no GTK3/X11 dependency. If the reduced slim module set (see below) is enough, that has no GUI dependencies either.
macOS: The
osx.x64andosx.arm64packages include FFmpeg, Tesseract, Freetype, and all standard OpenCV modules, statically linked.
Available Runtime Packages
| Package | Platform |
|---|---|
OpenCvSharp5.runtime.win |
Windows x64 |
OpenCvSharp5.runtime.win.slim |
Windows x64 (slim) |
OpenCvSharp5.runtime.win-arm64 |
Windows ARM64 (Snapdragon X and other arm64 devices). FFmpeg not included. |
OpenCvSharp5.runtime.win-arm64.slim |
Windows ARM64 (slim) |
OpenCvSharp5.official.runtime.linux-x64 |
Linux x64 (portable, manylinux_2_28) |
OpenCvSharp5.official.runtime.linux-x64.headless |
Linux x64 (portable, manylinux_2_28, headless — full module set minus highgui) |
OpenCvSharp5.official.runtime.linux-x64.slim |
Linux x64 (portable, manylinux_2_28, slim) |
OpenCvSharp5.runtime.linux-arm64 |
Linux ARM64 (AArch64) |
OpenCvSharp5.runtime.linux-arm |
Linux ARM64 — deprecated, use linux-arm64 |
OpenCvSharp5.runtime.osx.x64 |
macOS x64 (Intel) |
OpenCvSharp5.runtime.osx.arm64 |
macOS 11.0+ arm64 (Apple Silicon) |
Note:
OpenCvSharp5.runtime.linux-armhas been renamed toOpenCvSharp5.runtime.linux-arm64to correctly reflect the ARM64 (AArch64) RID. The old package is kept as a compatibility shim that automatically pulls in the renamed package, but new projects should referenceOpenCvSharp5.runtime.linux-arm64directly.
Headless Profile (Linux only)
The OpenCvSharp5.official.runtime.linux-x64.headless package has the same module set as the full linux-x64 package (videoio, dnn, ml, contrib, stitching, barcode, ...) but highgui is disabled at build time, so it never links GTK3/X11 and needs no GUI dependency to be installed. Use it for containerized/headless services (e.g. an ASP.NET Core service using VideoCapture/imgcodecs) that need more than the slim module set below but never call highgui.
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
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
-
net8.0
- No dependencies.
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 |
|---|---|---|
| 5.0.0.20260723 | 64 | 7/23/2026 |
| 5.0.0.20260721 | 122 | 7/21/2026 |
| 5.0.0.20260719 | 166 | 7/20/2026 |
| 5.0.0.20260718 | 141 | 7/18/2026 |
| 5.0.0.20260713 | 229 | 7/13/2026 |
| 5.0.0.20260712 | 120 | 7/12/2026 |
| 5.0.0.20260703 | 464 | 7/4/2026 |
| 5.0.0.20260702 | 153 | 7/2/2026 |
| 5.0.0.20260702-beta | 113 | 7/2/2026 |