Class containing batched data of a detected objects from the object detection module. More...
Functions | |
int | id (self) |
Id of the batch. | |
OBJECT_CLASS | label (self) |
Objects class/category to identify the object type. | |
OBJECT_SUBCLASS | sublabel (self) |
Objects sub-class/sub-category to identify the object type. | |
OBJECT_TRACKING_STATE | tracking_state (self) |
Objects tracking state. | |
np.array[float][float] | positions (self) |
NumPy array of positions for each object. | |
np.array[float][float] | position_covariances (self) |
NumPy array of positions' covariances for each object. | |
np.array[float][float] | velocities (self) |
NumPy array of 3D velocities for each object. | |
list[Timestamp] | timestamps (self) |
List of timestamps for each object. | |
np.array[float][float][float] | bounding_boxes (self) |
NumPy array of 3D bounding boxes for each object. More... | |
np.array[int][int][int] | bounding_boxes_2d (self) |
NumPy array of 2D bounding boxes for each object. More... | |
np.array[float] | confidences (self) |
NumPy array of confidences for each object. | |
list[OBJECT_ACTION_STATE] | action_states (self) |
List of action states for each object. | |
np.array[int][int][int] | head_bounding_boxes_2d (self) |
NumPy array of 2D bounding box of the head for each object (person). More... | |
np.array[float][float][float] | head_bounding_boxes (self) |
NumPy array of 3D bounding box of the head for each object (person). More... | |
np.array[float][float] | head_positions (self) |
NumPy 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.
np.array[float][float][float] bounding_boxes | ( | self | ) |
NumPy array of 3D bounding boxes for each object.
np.array[int][int][int] bounding_boxes_2d | ( | self | ) |
NumPy array of 2D bounding boxes for each object.
[0, 0]
is the top left corner. np.array[int][int][int] head_bounding_boxes_2d | ( | self | ) |
NumPy array of 2D bounding box of the head for each object (person).
[0, 0]
is the top left corner. np.array[float][float][float] head_bounding_boxes | ( | self | ) |
NumPy array of 3D bounding box of the head for each object (person).
np.array[float][float] head_positions | ( | self | ) |
NumPy array of 3D centroid of the head for each object (person).