CK.OpenCvSharp4.Extended.runtime.linux-x64 4.11.0.20250507

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

CK.OpenCvSharp4.Extended.runtime.linux-x64

Native libOpenCvSharpExtern.so for Linux x64, built specifically to pair with:

  • OpenCvSharp4 managed package, version 4.11.0.20250507 (exact match required)
  • Sdcb.PaddleOCR 3.3.1 (which requires OpenCvSharp4 >= 4.11.0.20250507 internally)

Why this package exists

No published OpenCvSharp Linux native package satisfies all three of these at once:

  1. Self-contained (no system-level apt-get dependencies)
  2. Includes the features2d module (ORB, feature matching, findHomography)
  3. Matches OpenCvSharp 4.11.0.20250507 exactly

Sdcb's own self-contained .mini runtime line deliberately excludes features2d (it's built for "decode an image, feed it to a model," not feature-based alignment). Packages that do include features2d (e.g. OneWare.OpenCvSharp4.extended.*) are only published for OpenCvSharp 4.13.x — mixing that with Sdcb.PaddleOCR 3.3.1 (which needs exactly 4.11.x) breaks Sdcb.PaddleOCR's own internal OpenCV calls, not just calling code.

This package is a fork of sdcb/opencvsharp-mini-runtime at the historical tag (4.11.0.35) that still targeted OpenCV 4.11.0, with features2d, flann and calib3d added back into the build's module list, and the wrapper source patched (following the same technique Sdcb's own build uses) so it compiles against that reduced module set.

Build recipe (for reproducing or updating this package)

OpenCV 4.11.0, BUILD_LIST=core,imgproc,imgcodecs,features2d,flann,calib3d
OpenCvSharp 4.11.0.20250507 (shimat/opencvsharp), wrapper patched:
  - include_opencv.h: unconditional #includes for ~20 unused modules removed
    (highgui, shape, stitching, video, superres, aruco, bgsegm, img_hash,
    line_descriptor, optflow, quality, tracking, xfeatures2d, ximgproc,
    xphoto, wechat_qrcode, dnn, dnn_superres, face, text)
  - CMakeLists.txt: file(GLOB OPENCVSHARP_FILES *.cpp) restricted to
    core*.cpp imgproc.cpp imgcodecs.cpp features2d.cpp flann.cpp calib3d.cpp std_*.cpp
  - std_vector.h: trailing blocks referencing un-built-module types
    (ml::DTrees::Node/Split, detail::ImageFeatures, line_descriptor::KeyLine)
    truncated

Usage

<PackageReference Include="OpenCvSharp4" Version="4.11.0.20250507" />
<PackageReference Include="CK.OpenCvSharp4.Extended.runtime.linux-x64" Version="4.11.0.20250507" />

No other OpenCvSharp4.*runtime* package should be referenced alongside this one for linux-x64 — it supplies the native asset itself.

Validated

50 real scanned documents through the full production template-extraction pipeline (alignment via ORB + RANSAC homography, OCR via Sdcb.PaddleOCR), on a bare ubuntu:22.04 image with zero OpenCV-related system packages installed: 50/50 succeeded, 100% field accuracy, ~13.5s/document average.

License

Apache-2.0, matching upstream OpenCV, OpenCvSharp and Sdcb.PaddleOCR. This package contains only a compiled binary derived from their public source at the versions noted above; see their respective repositories for full license text and attribution.

Not an official Sdcb or shimat/OpenCvSharp release

This is a third-party fork, built and published independently to solve one specific compatibility gap. It is not affiliated with, endorsed by, or supported by the Sdcb or OpenCvSharp projects.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CK.OpenCvSharp4.Extended.runtime.linux-x64:

Package Downloads
CK-PDFExtractor.Core

Extracts text and fields from PDF documents, fully in .NET. Give it a PDF and an optional template JSON: with a template it aligns the page to a reference picture, cuts out each box, OCRs it (PaddleOCR) and returns the value without its printed label; without a template it returns all text in the document. Windows x64 and Linux x64. Nothing else to install.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.11.0.20250507 182 9/29/2026