Class MLPredictionItem
Represents an item resulting from a successful prediction in machine learning, particularly in object detection and classification tasks. This record is sealed to prevent inheritance.
Implements
Inherited Members
Namespace: EyeAuras.OpenCVAuras.Triggers.MLSearch
Assembly: EyeAuras.OpenCVAuras.Shared.dll
Syntax
public sealed record MLPredictionItem : IEquatable<MLPredictionItem>
Constructors
Name | Description |
---|---|
MLPredictionItem() |
Properties
Name | Description |
---|---|
Bounds | Gets the bounding rectangle of the predicted object in the image. |
BoundsAsString | Gets a string representation of the bounding rectangle, or null if the area is empty. |
Color | Gets the color associated with the prediction, often used for visualization purposes. |
LocationAsString | Gets a string representation of the location of the bounding rectangle, or null if the area is empty. |
Name | Gets the name of the predicted object or class. |
Score | Gets the confidence score of the prediction, typically ranging from 0 to 1. |
SizeAsString | Gets a string representation of the size of the bounding rectangle, or null if the area is empty. |
Methods
Name | Description |
---|---|
Equals(MLPredictionItem?) | |
Equals(object?) | |
GetHashCode() | |
ToString() | |
<Clone>$() |
Operators
Name | Description |
---|---|
operator ==(MLPredictionItem?, MLPredictionItem?) | |
operator !=(MLPredictionItem?, MLPredictionItem?) |