Snet.Yolo.Server 25.307.1

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

<img src="https://api.shunnet.top/pic/nuget.png" height="28"> VisualIdentity

License: MIT
Repo

🚀 基于 .NET 9 的多模型智能识别平台
高效 · 灵活 · 易部署

🌟 项目简介

AI 应用落地 的过程中,模型管理多任务识别 一直是开发者的痛点。
无论是 检测、分类、分割、姿态估计、定向检测,往往都需要同时部署多个模型,传统方案在 效率易用性 上总会遇到瓶颈。

VisualIdentity 正是为了解决这一系列问题而生。
它结合了 .NET 9 的现代化能力、YoloDotNet 的高性能推理、以及 SQLite 的轻量级管理,为开发者提供一个 开箱即用 的智能识别平台。

✅ 多模型管理
✅ 单机多任务识别
✅ 跨平台部署

🎯 应用场景

  • 🏭 工业质检:瑕疵检测、异物识别
  • 🛒 零售分析:顾客行为、货架检测
  • 🛡️ 智能安防:异常行为、姿态识别
  • 🎓 科研教育:多模型实验平台
  • 🌐 边缘计算:轻量化部署到嵌入式或服务器

📦 NuGet 安装

dotnet add package Snet.Yolo.Server

💡 调用示例

using SkiaSharp;
using Snet.Model.data;
using Snet.Utility;
using Snet.Yolo.Server;
using Snet.Yolo.Server.handler;
using Snet.Yolo.Server.models.data;
using Snet.Yolo.Server.models.@enum;
using YoloDotNet.Core;
using YoloDotNet.Extensions;
using YoloDotNet.Models;

namespace Snet.Yolo.Test
{
    internal class Program
    {
        static async Task Main(string[] args)
        {
            //可以直接启用 Snet.Yolo.Tool 来进行调试

            //????? 为对应数据

            // 原始图片路径
            string imagePath = "?????";

            //模型路径
            string onnxModel = "?????";

            //识别类型
            OnnxType onnxType = OnnxType.ObjectDetection;

            //直接调用库来进行本地识别操作
            using SKImage image2 = SKImage.FromEncodedData(imagePath);

            // 调用识别
            OperateResult operateResult = await IdentityOperate.Instance(new Yolo.Server.models.data.IdentityData
            {
                Hardware = new CpuExecutionProvider(),
                IdentifyType = onnxType,
                OnnxPath = onnxModel,
                SN = $"{onnxType}{onnxModel}"
            }).RunAsync(new ObjectDetectionData
            {
                Confidence = 0.23,
                Iou = 0.7,
                File = image2.Encode().ToArray()
            });

            // 转换结果
            List<ObjectDetection> results2 = operateResult.GetObjectDetectionResult().ToObjectDetection();

            //绘制结果
            using SKBitmap resultImage2 = image2.Draw(results2);

        }
    }
}

⚙️ 功能特性

🔹 多模型管理

  • 支持 增 / 删 / 改 / 查
  • 模型 版本化 & 快速切换
  • 一机多模型轻松维护

🔹 单机多任务流畅运行

  • 支持 检测 / OBB 定向检测 / 分类 / 分割 / 姿态估计
  • 基于 YoloDotNet 高速推理内核
  • 零配置,一键运行

🔹 跨平台 & 部署友好

  • 支持 Windows / Linux / Docker 部署
  • 提供轻量化配置,适配 边缘设备 & 服务器
  • 开箱即用,降低开发门槛

📚 依赖组件

Snet.DB

  • 集成 Dapper & SqlSugarCore
  • 支持高性能 SQL 映射与链式查询
  • 自动建表,高效开发
  • 保持轻量同时,具备 生产级性能

YoloDotNet

  • C# 生态下 极快、功能齐全 的 YOLO 推理库
  • 支持 YOLOv5u - YOLOv12、YOLO World、YOLO-E
  • 功能覆盖:检测 / OBB / 分割 / 分类 / 姿态估计 / 跟踪

🧩 支持的版本

YOLOv5u | YOLOv8 | YOLOv9 | YOLOv10 | YOLOv11 | YOLOv12 | YOLO-World | YOLO-E

🔬 支持的任务

分类 (Classification) 检测 (Detection) OBB 定向检测 分割 (Segmentation) 姿态估计 (Pose)
<img src="https://user-images.githubusercontent.com/35733515/297393507-c8539bff-0a71-48be-b316-f2611c3836a3.jpg" width=240> <img src="https://user-images.githubusercontent.com/35733515/273405301-626b3c97-fdc6-47b8-bfaf-c3a7701721da.jpg" width=240> <img src="https://github.com/NickSwardh/YoloDotNet/assets/35733515/d15c5b3e-18c7-4c2c-9a8d-1d03fb98dd3c" width=240> <img src="https://github.com/NickSwardh/YoloDotNet/assets/35733515/3ae97613-46f7-46de-8c5d-e9240f1078e6" width=240> <img src="https://github.com/NickSwardh/YoloDotNet/assets/35733515/b7abeaed-5c00-4462-bd19-c2b77fe86260" width=240>
<sub>pexels.com</sub> <sub>pexels.com</sub> <sub>pexels.com</sub> <sub>pexels.com</sub> <sub>pexels.com</sub>

⚡ 推理后端支持

ONNX Runtime CPU CUDA TensorRT

🙏 致谢

📜 许可证

License: MIT

本项目基于 MIT 开源。
请阅读 LICENSE 获取完整条款。
⚠️ 软件按 “原样” 提供,作者不对使用后果承担责任。

🌍 查阅

👉 点击跳转

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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 is compatible.  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. 
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
25.307.1 303 11/3/2025
25.304.1 300 10/31/2025
25.300.1 464 10/27/2025
25.293.1 435 10/20/2025
25.288.1 451 10/15/2025
25.287.1 450 10/14/2025
25.284.1 365 10/11/2025
25.282.2 448 10/9/2025
25.282.1 426 10/9/2025
25.273.2 483 9/30/2025
25.273.1 468 9/30/2025
25.271.1 378 9/27/2025
25.268.1 442 9/25/2025
25.267.1 413 9/24/2025
25.253.1 436 9/10/2025
25.252.1 440 9/9/2025
25.247.1 448 9/4/2025
25.246.1 460 9/3/2025
25.245.1 416 9/2/2025
25.244.1 418 9/1/2025
25.240.1 470 8/28/2025
25.239.1 496 8/27/2025
25.238.3 494 8/26/2025
25.238.2 517 8/26/2025
25.238.1 488 8/26/2025