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

ObjectDetectionImageParams

Container for information about the camera image input that generated an awareness image, along with the model input size.

Declaration

data class ObjectDetectionImageParams

Properties

NameTypeSummary
modelFrameSizeSize
Width and height of the object detection model's input size, represented as a size object. The source image is resized to this resolution before being processed by the predictor.
sourceFrameSizeSize
Width and height of the source image that was used for object detection, represented as a size object. This usually corresponds to the resolution of the camera image.