Class AnchorMatchResult<T>
- Namespace
- AiDotNet.ComputerVision.Detection.Anchors
- Assembly
- AiDotNet.dll
Result of anchor-to-ground-truth matching.
public class AnchorMatchResult<T>
Type Parameters
TThe numeric type used for calculations.
- Inheritance
-
AnchorMatchResult<T>
- Inherited Members
Properties
Labels
Label for each anchor (positive, negative, or ignore).
public MatchLabel[] Labels { get; set; }
Property Value
MatchedGtIndices
For each anchor, the index of the matched GT box (-1 if no match).
public int[] MatchedGtIndices { get; set; }
Property Value
- int[]
MatchedIoUs
IoU between each anchor and its matched GT box.
public double[] MatchedIoUs { get; set; }
Property Value
- double[]
NumIgnored
Gets the number of ignored anchors.
public int NumIgnored { get; }
Property Value
NumNegative
Gets the number of negative matches.
public int NumNegative { get; }
Property Value
NumPositive
Gets the number of positive matches.
public int NumPositive { get; }
Property Value
Methods
GetNegativeIndices()
Gets indices of all negative anchors.
public int[] GetNegativeIndices()
Returns
- int[]
GetPositiveIndices()
Gets indices of all positive anchors.
public int[] GetPositiveIndices()
Returns
- int[]