Class containing batched data of a detected objects from the object detection module. More...
Attributes | |
int | numData = 0 |
Number of objects in the sl.ObjectsBatch. More... | |
int | id = 0 |
Id of the batch. More... | |
OBJECT_CLASS | label = OBJECT_CLASS.LAST |
Objects class/category to identify the object type. More... | |
OBJECT_SUBCLASS | sublabel = OBJECT_SUBCLASS.LAST |
Objects sub-class/sub-category to identify the object type. More... | |
OBJECT_TRACKING_STATE | trackingState = OBJECT_TRACKING_STATE.TERMINATE |
Objects tracking state. More... | |
Vector3[] | positions = new Vector3[(int)Constant.MAX_BATCH_SIZE] |
Array of positions for each object. More... | |
float[,] | positionCovariances = new float[(int)Constant.MAX_BATCH_SIZE, 6] |
Array of positions' covariances for each object. More... | |
Vector3[] | velocities = new Vector3[(int)Constant.MAX_BATCH_SIZE] |
Array of 3D velocities for each object. More... | |
ulong[] | timestamps = new ulong[(int)Constant.MAX_BATCH_SIZE] |
Array of timestamps for each object. More... | |
Vector3[,] | boundingBoxes = new Vector3[(int)Constant.MAX_BATCH_SIZE, 8] |
Array of 3D bounding boxes for each object. More... | |
Vector2[,] | boundingBoxes2D = new Vector2[(int)Constant.MAX_BATCH_SIZE, 4] |
Array of 2D bounding boxes for each object. More... | |
float[] | confidences = new float[(int)Constant.MAX_BATCH_SIZE] |
Array of confidences for each object. More... | |
OBJECT_ACTION_STATE[] | actionStates = new OBJECT_ACTION_STATE[(int)Constant.MAX_BATCH_SIZE] |
Array of action states for each object. More... | |
Vector2[,] | headBoundingBoxes2D = new Vector2[(int)Constant.MAX_BATCH_SIZE, 8] |
Array of 2D bounding box of the head for each object (person). More... | |
Vector3[,] | headBoundingBoxes = new Vector3[(int)Constant.MAX_BATCH_SIZE, 8] |
Array of 3D bounding box of the head for each object (person). More... | |
Vector3[] | headPositions = new Vector3[(int)Constant.MAX_BATCH_SIZE] |
Array of 3D centroid of the head for each object (person). More... | |
Class containing batched data of a detected objects from the object detection module.
This class can be used to store trajectories.
int numData = 0 |
Number of objects in the sl.ObjectsBatch.
Use this to iterate through the top of positions / velocities / boundingBoxes / etc.
int id = 0 |
Id of the batch.
OBJECT_CLASS label = OBJECT_CLASS.LAST |
Objects class/category to identify the object type.
OBJECT_SUBCLASS sublabel = OBJECT_SUBCLASS.LAST |
Objects sub-class/sub-category to identify the object type.
OBJECT_TRACKING_STATE trackingState = OBJECT_TRACKING_STATE.TERMINATE |
Objects tracking state.
Vector3 [] positions = new Vector3[(int)Constant.MAX_BATCH_SIZE] |
Array of positions for each object.
float [,] positionCovariances = new float[(int)Constant.MAX_BATCH_SIZE, 6] |
Array of positions' covariances for each object.
Vector3 [] velocities = new Vector3[(int)Constant.MAX_BATCH_SIZE] |
Array of 3D velocities for each object.
ulong [] timestamps = new ulong[(int)Constant.MAX_BATCH_SIZE] |
Array of timestamps for each object.
Vector3 [,] boundingBoxes = new Vector3[(int)Constant.MAX_BATCH_SIZE, 8] |
Array of 3D bounding boxes for each object.
Vector2 [,] boundingBoxes2D = new Vector2[(int)Constant.MAX_BATCH_SIZE, 4] |
Array of 2D bounding boxes for each object.
[0, 0]
is the top left corner. float [] confidences = new float[(int)Constant.MAX_BATCH_SIZE] |
Array of confidences for each object.
OBJECT_ACTION_STATE [] actionStates = new OBJECT_ACTION_STATE[(int)Constant.MAX_BATCH_SIZE] |
Array of action states for each object.
Vector2 [,] headBoundingBoxes2D = new Vector2[(int)Constant.MAX_BATCH_SIZE, 8] |
Array of 2D bounding box of the head for each object (person).
[0, 0]
is the top left corner. Vector3 [,] headBoundingBoxes = new Vector3[(int)Constant.MAX_BATCH_SIZE, 8] |
Array of 3D bounding box of the head for each object (person).
Vector3 [] headPositions = new Vector3[(int)Constant.MAX_BATCH_SIZE] |
Array of 3D centroid of the head for each object (person).