Table of Contents

Class AnchorMatchResult<T>

Namespace
AiDotNet.ComputerVision.Detection.Anchors
Assembly
AiDotNet.dll

Result of anchor-to-ground-truth matching.

public class AnchorMatchResult<T>

Type Parameters

T

The 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

MatchLabel[]

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

int

NumNegative

Gets the number of negative matches.

public int NumNegative { get; }

Property Value

int

NumPositive

Gets the number of positive matches.

public int NumPositive { get; }

Property Value

int

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[]