Table of Contents

Class DetectionStatistics<T>

Namespace
AiDotNet.ComputerVision.Detection.ObjectDetection
Assembly
AiDotNet.dll

Statistics about detection results.

public class DetectionStatistics<T>

Type Parameters

T

The numeric type used for coordinates and scores.

Inheritance
DetectionStatistics<T>
Inherited Members

Properties

AverageConfidence

Overall average confidence.

public double AverageConfidence { get; set; }

Property Value

double

AverageConfidenceByClass

Average confidence per class.

public Dictionary<int, double> AverageConfidenceByClass { get; set; }

Property Value

Dictionary<int, double>

CountByClass

Number of detections per class.

public Dictionary<int, int> CountByClass { get; set; }

Property Value

Dictionary<int, int>

TotalDetections

Total number of detections.

public int TotalDetections { get; set; }

Property Value

int

Methods

FromResult(DetectionResult<T>)

Computes statistics from a detection result.

public static DetectionStatistics<T> FromResult(DetectionResult<T> result)

Parameters

result DetectionResult<T>

The detection result to analyze.

Returns

DetectionStatistics<T>

Statistics about the detections.