Objects Class Reference

Contains the result of the object detection module. More...

Functions

def timestamp (self)
 Defines the Timestamp corresponding to the frame acquisition. More...
 
def object_list (self)
 The list of detected objects. More...
 
def is_new (self)
 Defines if the object list has already been retrieved or not.
 
def is_tracked (self)
 Defines if both the object tracking and the world orientation have been setup.
 
def get_object_data_from_id (self, ObjectData py_object_data, int object_data_id)
 Function that looks for a given object ID in the current object list and returns the associated object if found and a status. More...
 

Detailed Description

Contains the result of the object detection module.

The detected objects are listed in object_list

Functions

◆ timestamp()

def timestamp (   self)

Defines the Timestamp corresponding to the frame acquisition.

This value is especially useful for the async mode to synchronize the data.

Referenced by Timestamp.data_ns(), Timestamp.get_microseconds(), Timestamp.get_milliseconds(), Timestamp.get_nanoseconds(), Timestamp.get_seconds(), Timestamp.set_microseconds(), Timestamp.set_milliseconds(), Timestamp.set_nanoseconds(), and Timestamp.set_seconds().

◆ object_list()

def object_list (   self)

The list of detected objects.

An array of ObjectData .

◆ get_object_data_from_id()

def get_object_data_from_id (   self,
ObjectData  py_object_data,
int  object_data_id 
)

Function that looks for a given object ID in the current object list and returns the associated object if found and a status.

Parameters
py_object_data[out] : the object corresponding to the given ID if found
object_data_id[in] : the input object ID
Returns
True if found False otherwise