OpenCvSharp5.official.runtime.linux-arm64.slim
5.0.0.20261011
Prefix Reserved
dotnet add package OpenCvSharp5.official.runtime.linux-arm64.slim --version 5.0.0.20261011
NuGet\Install-Package OpenCvSharp5.official.runtime.linux-arm64.slim -Version 5.0.0.20261011
<PackageReference Include="OpenCvSharp5.official.runtime.linux-arm64.slim" Version="5.0.0.20261011" />
<PackageVersion Include="OpenCvSharp5.official.runtime.linux-arm64.slim" Version="5.0.0.20261011" />
<PackageReference Include="OpenCvSharp5.official.runtime.linux-arm64.slim" />
paket add OpenCvSharp5.official.runtime.linux-arm64.slim --version 5.0.0.20261011
#r "nuget: OpenCvSharp5.official.runtime.linux-arm64.slim, 5.0.0.20261011"
#:package OpenCvSharp5.official.runtime.linux-arm64.slim@5.0.0.20261011
#addin nuget:?package=OpenCvSharp5.official.runtime.linux-arm64.slim&version=5.0.0.20261011
#tool nuget:?package=OpenCvSharp5.official.runtime.linux-arm64.slim&version=5.0.0.20261011
OpenCvSharp Native Runtime Package
This is an internal implementation package for OpenCvSharp. It provides the native OpenCV shared library (OpenCvSharpExtern) for a specific platform.
The managed OpenCvSharp API is intentionally designed to stay as close as practical to the native OpenCV C++ API. See OpenCV C++, Python (cv2), and OpenCvSharp for the main API and data-model differences.
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(orOpenCvSharp5.official.runtime.linux-arm64on ARM64)
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 and official.runtime.linux-arm64 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) packages include 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.official.runtime.linux-arm64 |
Linux ARM64 (portable, manylinux_2_28) |
OpenCvSharp5.official.runtime.linux-arm64.headless |
Linux ARM64 (portable, manylinux_2_28, headless — full module set minus highgui) |
OpenCvSharp5.official.runtime.linux-arm64.slim |
Linux ARM64 (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 and OpenCvSharp5.official.runtime.linux-arm64.headless packages have the same module set as the corresponding full 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.20261011 | 0 | 10/11/2026 |