Skip to main content
API Reference SwiftyNsdk

ObjectDetectionResult

↳ inherits from AwarenessResult
A read-only container for the results of a single, successful object detection frame.

Declaration

final class ObjectDetectionResult

Properties

NameTypeSummary
let boundingBoxLocationsUnsafeBufferPointer<Float>?
The bounding box locations in the frame. Array of 4 floats per detection.
Indices within this array correspond to the indices in the trackingIds array.
let imageParamsObjectDetectionImageParams
Information about the image parameters used for object detection on this frame
let numClassesUInt32
The number of classes in the frame
let numDetectionsUInt32
The number of detections in the frame
let probabilitiesUnsafeBufferPointer<Float>?
The probabilities in the frame. Array of floats per detection.
Indices within this array correspond to the indices in the trackingIds array.
let trackingIdsUnsafeBufferPointer<UInt32>?
The tracking ids in the frame. Array of uint32_t per detection.
Indices within this array correspond to the indices in the boundingBoxLocations
and probabilities arrays.