Class OnnxDetection
- Assembly
- VisioForge.Core.dll
A single object detection produced by an ONNX-based detector (for example, YOLO).
public class OnnxDetectionInheritance
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
ClassId
Gets or sets the zero-based class identifier of the detected object.
public int ClassId { get; set; }Property Value
Confidence
Gets or sets the detection confidence (0..1).
public float Confidence { get; set; }Property Value
Label
Gets or sets the human-readable class label of the detected object.
public string Label { get; set; }