Table of Contents

Class OnnxDetection

Namespace
VisioForge.Core.Types.VideoProcessing
Assembly
VisioForge.Core.dll

A single object detection produced by an ONNX-based detector (for example, YOLO).

public class OnnxDetection

Inheritance

Inherited Members

Remarks

The bounding box is expressed in the original (source) video frame coordinate space, already mapped back from the model's letterboxed input space.

Properties

Box

Gets or sets the bounding box of the detected object, in source-frame pixel coordinates.

public Rect Box { get; set; }

Property Value

Rect

ClassId

Gets or sets the zero-based class identifier of the detected object.

public int ClassId { get; set; }

Property Value

int

Confidence

Gets or sets the detection confidence (0..1).

public float Confidence { get; set; }

Property Value

float

Label

Gets or sets the human-readable class label of the detected object.

public string Label { get; set; }

Property Value

string