AnchorMatchResult<T>

Models & Types · AiDotNet.ComputerVision.Detection.Anchors

Result of anchor-to-ground-truth matching.

Constructors

Constructor Summary
AnchorMatchResult()

Properties

Property Summary
MatchLabel[] Labels { get; set; } Label for each anchor (positive, negative, or ignore).
double[] MatchedIoUs { get; set; } IoU between each anchor and its matched GT box.
int NumIgnored { get; } Gets the number of ignored anchors.
int NumNegative { get; } Gets the number of negative matches.
int NumPositive { get; } Gets the number of positive matches.
int[] MatchedGtIndices { get; set; } For each anchor, the index of the matched GT box (-1 if no match).

Methods

Method Summary
int[] GetNegativeIndices() Gets indices of all negative anchors.
int[] GetPositiveIndices() Gets indices of all positive anchors.