LMSupply.Vision.Core 0.114.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package LMSupply.Vision.Core --version 0.114.0
                    
NuGet\Install-Package LMSupply.Vision.Core -Version 0.114.0
                    
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="LMSupply.Vision.Core" Version="0.114.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LMSupply.Vision.Core" Version="0.114.0" />
                    
Directory.Packages.props
<PackageReference Include="LMSupply.Vision.Core" />
                    
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 LMSupply.Vision.Core --version 0.114.0
                    
#r "nuget: LMSupply.Vision.Core, 0.114.0"
                    
#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 LMSupply.Vision.Core@0.114.0
                    
#: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=LMSupply.Vision.Core&version=0.114.0
                    
Install as a Cake Addin
#tool nuget:?package=LMSupply.Vision.Core&version=0.114.0
                    
Install as a Cake Tool

LMSupply.Vision.Core

Core vision processing infrastructure for LMSupply packages.

Purpose

Provides shared image processing capabilities for vision-based AI packages:

  • LMSupply.Captioner - Image captioning
  • LMSupply.Ocr - Optical character recognition

Key Components

  • RgbImage - 8-bit RGB image in memory, with bicubic Resize, Crop and Letterbox
  • IImageLoader / ImageLoader - Decodes JPEG, PNG, WebP, GIF (first frame), BMP and ICO; ImageLoader.EncodePng writes PNG
  • IImagePreprocessor - Model-specific image preprocessing pipeline
  • PreprocessProfile - Configuration for image preprocessing parameters
  • TensorUtils - Utilities for converting images to ONNX tensors

Dependencies

  • SkiaSharp - Image decoding and PNG encoding (MIT). Native libraries for Windows, macOS and Linux come with the package; nothing to add per platform
  • LMSupply.Core - Shared infrastructure (caching, downloading, ONNX utilities)

Usage

using LMSupply.Vision;

// Load and preprocess an image for a specific model
var preprocessor = new ImagePreprocessor();
float[] tensor = await preprocessor.PreprocessAsync("image.jpg", PreprocessProfile.ImageNet);
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 (5)

Showing the top 5 NuGet packages that depend on LMSupply.Vision.Core:

Package Downloads
LMSupply.Captioner

A simple .NET library for local image captioning with automatic model downloading from HuggingFace. Supports CUDA and CoreML GPU acceleration.

LMSupply.Ocr

A simple .NET library for local OCR with automatic model downloading from HuggingFace. Features 2-stage detection+recognition pipeline using PaddleOCR models. Supports CUDA and CoreML GPU acceleration.

LMSupply.Segmenter

A lightweight, zero-configuration image segmenter for .NET. Supports semantic and instance segmentation with SegFormer and MobileSAM models. Start small. Download what you need. Run locally.

LMSupply.Detector

A lightweight, zero-configuration object detector for .NET. Supports RT-DETR models with automatic download, GPU acceleration, and HuggingFace caching. NMS-free architecture for fast inference.

LMSupply.ImageGenerator

A simple .NET library for local text-to-image generation using Latent Consistency Models (LCM). Supports CUDA and CoreML GPU acceleration with 2-4 step fast inference.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.115.1 0 10/8/2026
0.115.0 0 10/8/2026
0.114.0 5 10/8/2026
0.113.0 54 10/8/2026
0.112.1 44 10/7/2026
0.112.0 46 10/7/2026
0.111.0 77 10/7/2026
0.110.1 73 10/7/2026
0.110.0 75 10/7/2026
0.109.1 101 10/7/2026
0.109.0 181 10/7/2026
0.108.0 177 10/6/2026
0.107.0 124 10/6/2026
0.106.1 116 10/5/2026
0.106.0 148 10/5/2026
0.105.2 138 10/4/2026
0.105.1 139 10/4/2026
0.105.0 142 10/4/2026
0.104.0 148 10/3/2026
0.103.0 143 10/3/2026
Loading failed