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
TThe 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
BatchSize
Gets the batch size.
public int BatchSize { get; }
Property Value
this[int]
Gets the result for a specific image index.
public DetectionResult<T> this[int index] { get; }
Parameters
indexintThe 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
TotalInferenceTime
Total time to process the entire batch.
public TimeSpan TotalInferenceTime { get; set; }