Table of Contents

Class BatchDetectionResult<T>

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

Represents a batch of detection results for multiple images.

public class BatchDetectionResult<T>

Type Parameters

T

The numeric type used for coordinates and scores.

Inheritance
BatchDetectionResult<T>
Inherited Members

Properties

AverageInferenceTime

Gets the average inference time per image.

public TimeSpan AverageInferenceTime { get; }

Property Value

TimeSpan

BatchSize

Gets the batch size.

public int BatchSize { get; }

Property Value

int

this[int]

Gets the result for a specific image index.

public DetectionResult<T> this[int index] { get; }

Parameters

index int

The image index.

Property Value

DetectionResult<T>

The detection result for that image.

Results

Detection results for each image in the batch.

public List<DetectionResult<T>> Results { get; set; }

Property Value

List<DetectionResult<T>>

TotalDetections

Gets the total number of detections across all images.

public int TotalDetections { get; }

Property Value

int

TotalInferenceTime

Total time to process the entire batch.

public TimeSpan TotalInferenceTime { get; set; }

Property Value

TimeSpan