Lyo.Images.OpenCv 1.0.6

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

Lyo.Images.OpenCv

OpenCV helpers for .NET via OpenCvSharp4. Kept separate from higher-level pipelines (e.g. comic overlay) so hosts pull native OpenCV only where needed.

ROI inpaint

Contract. IOpenCvRoiInpaint InpaintColorRoiPng decodes a color PNG ROI, builds a binary mask (255 inside the rectangle, 0 elsewhere), runs OpenCV inpaint with optional Telea or Navier-Stokes (OpenCvInpaintAlgorithm), and returns PNG-encoded BGR output with the same width and height as the decoded source.

Failure codes: OpenCvInpaint.DecodeFailed, OpenCvInpaint.InpaintError.

Native runtimes (NuGet)

This package references OpenCvSharp4.official.runtime.linux-x64, for Linux CI and local Linux development. On Windows or other RIDs, add a matching official runtime package to the executable project (e.g. Gateway) or to this library's .csproj. Search NuGet for OpenCvSharp4.official.runtime for your OS. If native libraries fail to load at runtime, check that the correct runtime package is restored and copied next to the app output.

Tests

See ../Lyo.Images.OpenCv.Tests/. This repo uses xUnit v3 with OutputType Exe. Run:

dotnet run --project Lyo.Net/Data/Images/Lyo.Images.OpenCv.Tests/Lyo.Images.OpenCv.Tests.csproj

dotnet test may restore but not always execute the v3 in-process runner the same way. Prefer dotnet run for this project.

Tests require a working OpenCV native load, same as a Linux host at runtime.

Dependencies

Generated from ProjectReference / PackageReference (same model as docs/Lyo.ProjectGraph.html).

  • Lyo.Exceptions (direct, lyo)
  • Lyo.Result (direct, lyo)
  • Microsoft.Extensions.DependencyInjection 10.0.5 (direct, microsoft)
  • OpenCvSharp4 4.13.0.20260627 (direct, third-party)
  • OpenCvSharp4.official.runtime.linux-x64 4.13.0.20260627 (direct, third-party)
  • Lyo.Common (transitive, lyo)
  • Microsoft.Extensions.Logging.Abstractions 10.0.5 (transitive, microsoft)
  • System.Memory 4.6.3 (transitive, microsoft, netstandard2.0)
  • System.Text.Json 10.0.5 (transitive, microsoft, netstandard2.0)
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.0.6 28 8/20/2026
1.0.4 40 8/20/2026
1.0.3 35 8/19/2026
1.0.2 36 8/19/2026
1.0.1 54 8/18/2026
1.0.0 85 8/16/2026