Struct YoloLabel
Represents a single label as identified by the YOLO (You Only Look Once) object detection system. This record structure encapsulates the unique attributes of a detected object's label, including its identifier, name, kind, and associated color.
Implements
Inherited Members
Namespace: EyeAuras.OpenCVAuras.ML.Yolo
Assembly: EyeAuras.OpenCVAuras.Shared.dll
Syntax
public readonly struct YoloLabel : IEquatable<YoloLabel>
Properties
Name | Description |
---|---|
Color | Gets the color associated with this label. This color is typically used for visualization purposes, such as drawing bounding boxes or segmentation masks in the color corresponding to the detected object's class. |
Id | Gets the unique identifier for this label. The ID is an integer value that uniquely represents a specific class or type of object detected by the YOLO system. |
Kind | Gets the kind of the label. The kind distinguishes between different labeling approaches used in YOLO, such as generic labels or instance segmentation labels. |
Name | Gets the name of the label. This is a human-readable string that describes the class or type of the object detected, such as 'car', 'person', etc. |
Methods
Name | Description |
---|---|
Equals(YoloLabel) | |
Equals(object) | |
GetHashCode() | |
ToString() |
Operators
Name | Description |
---|---|
operator ==(YoloLabel, YoloLabel) | |
operator !=(YoloLabel, YoloLabel) |