Class DetectionStatistics<T>
- Namespace
- AiDotNet.ComputerVision.Detection.ObjectDetection
- Assembly
- AiDotNet.dll
Statistics about detection results.
public class DetectionStatistics<T>
Type Parameters
TThe numeric type used for coordinates and scores.
- Inheritance
-
DetectionStatistics<T>
- Inherited Members
Properties
AverageConfidence
Overall average confidence.
public double AverageConfidence { get; set; }
Property Value
AverageConfidenceByClass
Average confidence per class.
public Dictionary<int, double> AverageConfidenceByClass { get; set; }
Property Value
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
Methods
FromResult(DetectionResult<T>)
Computes statistics from a detection result.
public static DetectionStatistics<T> FromResult(DetectionResult<T> result)
Parameters
resultDetectionResult<T>The detection result to analyze.
Returns
- DetectionStatistics<T>
Statistics about the detections.