← Open Source
dme-compunet

YoloSharp

🚀 A high performance real-time object detection solution using YOLO11 ⚡️ powered by ONNX-Runtime.

InfrastructureDeploy & ServeC#
Open on GitHub
Momentum
+0stars in 24 hours0.0%
566
Stars
95
Forks
+2
This week
14
Contributors
Created 2023-06-20 · Updated 2026-10-15 · #16903 today
Top developers
dme-compunetsascha93rusKiwiBryn

dme-compunet/YoloSharp is ranked 16,903 with 566 stars.

Same-category comparison

dme-compunet/YoloSharp is ranked 16,903 among these 8 peers; diggerhq/opencomputer is ranked 16,902.

Same-category comparison
NameRankMetrics
google/CFU-Playground16,853
Language:
Verilog
Stars:
569
Forks:
160
LeoYeAI/openclaw-guardian16,860
Language:
Shell
Stars:
568
Forks:
104
raids-lab/crater16,874
Language:
Go
Stars:
568
Forks:
76
Description:
Crater is a cloud-native AI training & inference platform.
diggerhq/opencomputer16,902
Language:
TypeScript
Stars:
566
Forks:
66
Description:
The easiest way to build and deploy an agent.
huggingface/transformers-bloom-inference16,904
Language:
Python
Stars:
566
Forks:
111
Description:
Fast Inference Solutions for BLOOM.
google-research/tensor2robot16,921
Language:
Python
Stars:
565
Forks:
117
Description:
Distributed machine learning infrastructure for large-scale robotics research.
3DiVi/nuitrack-sdk16,952
Language:
C++
Stars:
563
Forks:
70
Description:
Nuitrack™ is a 3D tracking middleware developed by 3DiVi Inc.
NVIDIA/cosmos-framework16,956
Language:
Python
Stars:
563
Forks:
164
Description:
Our inference and training framework to run on the Cosmos Models.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguageC#
CategoryInfrastructure
SubcategoryDeploy & Serve
KeywordsComputer vision, Object detection
Stars566
Forks95
Contributors14
Created date2023-06-20
Updated date2026-10-15
Stars in 1 day0
Stars in 7 days2
Rank16,903
Previous rank6,892
Rank change-10,011
7-day stars rank8,809
Previous 7-day stars rank8,858
7-day stars rank change49
Total stars rank17,582
Previous total stars rank17,546
Total stars rank change-36
README summary

YoloSharp 🚀 A high performance real-time object detection solution using YOLO11 ⚡️ powered by ONNX-Runtime Features **YOLO Tasks** 🌟 Support for all YOLO vision tasks ( **High Performance** 🚀 Various techniques and use of . Gpu** | GPU-based inference | Includes all runtime dependencies (all platforms) | | **YoloSharp. Core** | Core library without runtime dependencies | None – suitable for lightweight production or for using alternative runtimes | Usage 1. Export model to ONNX format: For convert the pre-trained PyTorch model to ONNX format, run the following Python code

: 2. 0 License **Important Note:** This project depends on ImageSharp, you should check the license details here

Frequently asked questions

How many stars and forks are recorded?

dme-compunet/YoloSharp has 566 stars and 95 forks.

What is the repository rank?

dme-compunet/YoloSharp is ranked 16,903.

What language and category are recorded?

dme-compunet/YoloSharp has 566 stars, uses C# and belongs to Infrastructure.

Which repository is closest in rank?

dme-compunet/YoloSharp is compared with diggerhq/opencomputer, ranked 16,902 with 566 stars.

README

YoloSharp

🚀 A high performance real-time object detection solution using YOLO11 ⚡️ powered by ONNX-Runtime

Features

  • YOLO Tasks 🌟 Support for all YOLO vision tasks ( Detect | OBB | Pose | Segment | Classify)
  • High Performance 🚀 Various techniques and use of .NET features to maximize performance
  • Reduced Memory Usage 🧠 By reusing memory blocks and reducing the pressure on the GC
  • Plotting Options ✏️ Draw the predictions on the target image to preview the model results
  • YOLO Versions 🔧 Includes support for: YOLOv8 YOLOv10 YOLO11 YOLO12 YOLO26

Installation

The project provides the following NuGet packages:

Package Description Dependencies
YoloSharp CPU-based inference Includes all runtime dependencies (all platforms)
YoloSharp.Gpu GPU-based inference Includes all runtime dependencies (all platforms)
YoloSharp.Core Core library without runtime dependencies None – suitable for lightweight production or for using alternative runtimes

Usage

1. Export model to ONNX format:

For convert the pre-trained PyTorch model to ONNX format, run the following Python code:

from ultralytics import YOLO

# Load a model
model = YOLO('path/to/best.pt')

# Export the model to ONNX format
model.export(format='onnx')

2. Load the ONNX model with C#:

Add the YoloSharp (or YoloSharp.Gpu) package to your project:

dotnet add package YoloSharp

Use the following C# code to load the model and run basic prediction:

using Compunet.YoloSharp;

// Load the YOLO predictor
using var predictor = new YoloPredictor("path/to/model.onnx");

// Run model
var result = predictor.Detect("path/to/image.jpg");
// or
var result = await predictor.DetectAsync("path/to/image.jpg");

// Write result summary to terminal
Console.WriteLine(result);

Plotting

You can to plot the target image for preview the model results, this code demonstrates how to run a inference, plot the results on image and save to file:

using Compunet.YoloSharp;
using Compunet.YoloSharp.Plotting;
using SixLabors.ImageSharp;

// Load the YOLO predictor
using var predictor = new YoloPredictor("path/to/model.onnx");

// Load the target image
using var image = Image.Load("path/to/image");

// Run model
var result = await predictor.PoseAsync(image);

// Create plotted image from model results
using var plotted = await result.PlotImageAsync(image);

// Write the plotted image to file
plotted.Save("./pose_demo.jpg");

You can also predict and save to file in one operation:

using Compunet.YoloSharp;
using Compunet.YoloSharp.Plotting;
using SixLabors.ImageSharp;

// Load the YOLO predictor
using var predictor = new YoloPredictor("path/to/model.onnx");

// Run model, plot predictions and write to file
predictor.PredictAndSaveAsync("path/to/image");

Example Images:

Detect Pose
Segment Obb

Not Supported:

The following features are not currently supported, they may be added later

  • Batch Processing: You have to predict them one by one
  • Dynamic Size: The image resized according to imgsz

License

AGPL-3.0 License

Important Note: This project depends on ImageSharp, you should check the license details here

Nearby in the ranking
Similar items