Skip to main content
API Reference com.nianticspatial.nsdk.objectdetection

ObjectDetectionResult

Wrapper for the native object detection result buffer.

Declaration

class ObjectDetectionResult

Properties

NameTypeSummary
awarenessParamsAwarenessImageParams
Inference meta-data.
boundingBoxLocationsFloatArray?
Corner points of the bounding box. Length: numDetections * 4
imageParamsObjectDetectionImageParams
Dimensions of the source image and models input dimensions.
numClassesInt
The number of possible classifications per object.
numDetectionsInt
The number of detected objects.
probabilitiesFloatArray?
The probabilities (detection confidence) buffer. Length: numDetections * numClasses
trackingIdsIntArray?
[Optional] Ids for tracking the same object through inference frames. Length = numDetections