ObjectDetectionResult
↳ inherits from AwarenessResult
A read-only container for the results of a single, successful object detection frame.
Declaration
final class ObjectDetectionResultProperties
| Name | Type | Summary |
|---|---|---|
| let boundingBoxLocations | UnsafeBufferPointer<Float>? | |
| let imageParams | ObjectDetectionImageParams | Information about the image parameters used for object detection on this frame |
| let numClasses | UInt32 | The number of classes in the frame |
| let numDetections | UInt32 | The number of detections in the frame |
| let probabilities | UnsafeBufferPointer<Float>? | The probabilities in the frame. Array of floats per detection. Indices within this array correspond to the indices in the trackingIds array. |
| let trackingIds | UnsafeBufferPointer<UInt32>? | The tracking ids in the frame. Array of uint32_t per detection. Indices within this array correspond to the indices in the boundingBoxLocationsand probabilities arrays. |
Indices within this array correspond to the indices in the
trackingIdsarray.