Data Fields | |
int | id |
Object identification number, used as a reference when tracking the object through the frames. More... | |
unsigned char | unique_object_id [37] |
Unique ID to help identify and track AI detections. Can be either generated externally, or using sl_generate_unique_id() or left empty. | |
int | raw_label |
Object label, forwarded from CustomBoxObjects when using SL_DETECTION_MODEL_CUSTOM_BOX_OBJECTS. | |
enum SL_OBJECT_CLASS | label |
Object category. Identify the object type (sl::OBJECT_CLASS) | |
enum SL_OBJECT_SUBCLASS | sublabel |
Object subclass (sl::OBJECT_SUBCLASS) | |
enum SL_OBJECT_TRACKING_STATE | tracking_state |
Defines the object tracking state (sl::OBJECT_TRACKING_STATE). | |
enum SL_OBJECT_ACTION_STATE | action_state |
Defines the object action state (sl::OBJECT_ACTION_STATE). | |
float | confidence |
Defines the detection confidence value of the object. From 0 to 100, a low value means the object might not be localized perfectly or the label (OBJECT_CLASS) is uncertain. | |
int * | mask |
struct SL_Vector2 | bounding_box_2d [4] |
struct SL_Vector3 | position |
Defines the object 3D centroid. Defined in sl:InitParameters::UNIT, expressed in RuntimeParameters::measure3D_reference_frame. | |
struct SL_Vector3 | head_position |
3D head centroid. Defined in sl:InitParameters::UNIT, expressed in RuntimeParameters::measure3D_reference_frame. More... | |
struct SL_Vector3 | velocity |
Defines the object 3D velocity Defined in sl:InitParameters::UNIT / seconds, expressed in RuntimeParameters::measure3D_reference_frame. | |
struct SL_Vector3 | dimensions |
3D object dimensions: width, height, length. Defined in SL_InitParameters_UNIT, expressed in SL_RuntimeParameters::measure3D_reference_frame. | |
struct SL_Vector3 | bounding_box [8] |
3D bounding box of the person represented as eight 3D points Defined in sl:InitParameters::UNIT, expressed in RuntimeParameters::measure3D_reference_frame. More... | |
struct SL_Vector3 | head_bounding_box [8] |
bounds the head with eight 3D points. Defined in sl:InitParameters::UNIT, expressed in RuntimeParameters::measure3D_reference_frame. More... | |
struct SL_Vector2 | keypoint_2d [34] |
A set of useful points representing the human body, expressed in 2D, respect to the original image resolution. We use a classic 18 points representation, the points semantic and order is given by BODY_PARTS. Expressed in pixels on the original image resolution, [0,0] is the top left corner. More... | |
struct SL_Vector3 | keypoint [34] |
A set of useful points representing the human body, expressed in 3D. We use a classic 18 points representation, the points semantic and order is given by BODY_PARTS. Defined in sl:InitParameters::UNIT, expressed in RuntimeParameters::measure3D_reference_frame. More... | |
float | position_covariance [6] |
the covariance matrix of the 3d position, represented by its upper triangular matrix value More... | |
float | keypoint_confidence [34] |
Per keypoint detection confidence, can not be lower than the ObjectDetectionRuntimeParameters::detection_confidence_threshold. More... | |
struct SL_Vector3 | local_position_per_joint [34] |
Per keypoint local position (the position of the child keypoint with respect to its parent expressed in its parent coordinate frame) More... | |
struct SL_Quaternion | local_orientation_per_joint [34] |
Per keypoint local orientation. More... | |
struct SL_Quaternion | global_root_orientation |
global root orientation of the skeleton. The orientation is also represented by a quaternion with the same format as local_orientation_per_joint | |
Contains data of a detected object such as its bounding_box, label, id and its 3D position.
int SL_ObjectData::id |
Object identification number, used as a reference when tracking the object through the frames.
struct SL_Vector3 SL_ObjectData::head_position |
3D head centroid. Defined in sl:InitParameters::UNIT, expressed in RuntimeParameters::measure3D_reference_frame.
struct SL_Vector3 SL_ObjectData::bounding_box[8] |
3D bounding box of the person represented as eight 3D points Defined in sl:InitParameters::UNIT, expressed in RuntimeParameters::measure3D_reference_frame.
struct SL_Vector3 SL_ObjectData::head_bounding_box[8] |
bounds the head with eight 3D points. Defined in sl:InitParameters::UNIT, expressed in RuntimeParameters::measure3D_reference_frame.
struct SL_Vector2 SL_ObjectData::keypoint_2d[34] |
A set of useful points representing the human body, expressed in 2D, respect to the original image resolution. We use a classic 18 points representation, the points semantic and order is given by BODY_PARTS. Expressed in pixels on the original image resolution, [0,0] is the top left corner.
struct SL_Vector3 SL_ObjectData::keypoint[34] |
A set of useful points representing the human body, expressed in 3D. We use a classic 18 points representation, the points semantic and order is given by BODY_PARTS. Defined in sl:InitParameters::UNIT, expressed in RuntimeParameters::measure3D_reference_frame.
float SL_ObjectData::position_covariance[6] |
the covariance matrix of the 3d position, represented by its upper triangular matrix value
where pi is position_covariance[i]
float SL_ObjectData::keypoint_confidence[34] |
Per keypoint detection confidence, can not be lower than the ObjectDetectionRuntimeParameters::detection_confidence_threshold.
struct SL_Vector3 SL_ObjectData::local_position_per_joint[34] |
Per keypoint local position (the position of the child keypoint with respect to its parent expressed in its parent coordinate frame)
struct SL_Quaternion SL_ObjectData::local_orientation_per_joint[34] |
Per keypoint local orientation.