Leaf.CvCommon 1.0.5

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

Leaf.CvCommon

NuGet License: MIT

图像/计算机视觉通用基础元素库,一般和 CvLibrary 联合使用。

📦 安装

通过 NuGet 包管理器安装:

dotnet add package Leaf.CvCommon

或在 Visual Studio 中使用包管理器控制台:

Install-Package Leaf.CvCommon

🎯 功能特性

  • 提供图像处理的通用基础元素
  • 支持多种像素格式 (CvPixelFormat)
  • 提供常用的图像数据结构:
    • CvPoint - 点坐标
    • CvSize - 尺寸
    • CvRect - 矩形区域
    • CvImage - 图像数据
    • MarkPoint - 标记点
    • AlignmentResult - 对齐结果
  • 与 CvLibrary 无缝集成
  • 基于 .NET Standard 2.0,跨平台兼容

🚀 快速开始

using CvCommon;

// 创建点
var point = new CvPoint(100, 200);

// 创建尺寸
var size = new CvSize(640, 480);

// 创建矩形区域
var rect = new CvRect(0, 0, 640, 480);

// 使用像素格式
var format = CvPixelFormat.RGB24;

📋 系统要求

  • .NET Standard 2.0 或更高版本
  • 支持平台:
    • .NET Framework 4.6.1+
    • .NET Core 2.0+
    • .NET 5/6/7/8+
    • Mono
    • Xamarin
    • UWP

🔗 相关项目

  • CvLibrary - 配合本库使用的计算机视觉处理库

📝 版本历史

v1.0.1

  • 当前稳定版本

👤 作者

Mitsuha9527

📄 许可证

本项目采用 MIT 许可证 - 查看 LICENSE 文件了解详情。

🔗 链接

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Leaf.CvCommon:

Package Downloads
Leaf.CvLibrary

图像/计算机视觉通用库,基于OpenCV实现。

Leaf.Controls

Leaf.UI

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.5 266 4/10/2026
1.0.4 94 4/10/2026
1.0.2 150 1/30/2026