Object Scene data directly from the ZED SDK. Represents all detections given during a single image frame. Contains the number of object in the scene and the objectData structure for each object. Since the data is transmitted from C++ to C#, the size of the structure must be constant. Therefore, there is a limitation of 200 (MAX_OBJECT constant) objects in the image. More...
Functions | |
bool | GetObjectDataFromId (ref sl.ObjectData objectData, int objectDataId) |
Function that look for a given object ID in the current object list and return the object associated if found and a status. More... | |
Attributes | |
int | numObject |
How many objects were detected this frame. Use this to iterate through the top of objectData; objects with indexes greater than numObject are empty. More... | |
ulong | timestamp |
Timestamp of the image where these objects were detected. More... | |
int | isNew |
Defines if the object frame is new (new timestamp) More... | |
int | isTracked |
Defines if the object is tracked More... | |
sl.DETECTION_MODEL | detectionModel |
Current detection model used. More... | |
ObjectData[] | objectData |
Array of objects More... | |
Object Scene data directly from the ZED SDK. Represents all detections given during a single image frame. Contains the number of object in the scene and the objectData structure for each object. Since the data is transmitted from C++ to C#, the size of the structure must be constant. Therefore, there is a limitation of 200 (MAX_OBJECT constant) objects in the image.
|
inline |
Function that look for a given object ID in the current object list and return the object associated if found and a status.
objectData | [out] : The object corresponding to the given ID if found |
objectDataId | The input object ID |
int numObject |
How many objects were detected this frame. Use this to iterate through the top of objectData; objects with indexes greater than numObject are empty.
Referenced by Objects.GetObjectDataFromId().
ulong timestamp |
Timestamp of the image where these objects were detected.
int isNew |
Defines if the object frame is new (new timestamp)
int isTracked |
Defines if the object is tracked
sl.DETECTION_MODEL detectionModel |
Current detection model used.
ObjectData [] objectData |
Array of objects
Referenced by Objects.GetObjectDataFromId().