SL_BatchParameters Struct Reference

Structure containing a set of parameters for batch object detection. More...

Data Fields

bool enable
 Whether to enable the batch option in the object detection module. More...
 
float id_retention_time
 Max retention time in seconds of a detected object. More...
 
float latency
 Trajectories will be output in batch with the desired latency in seconds. More...
 

Detailed Description

Structure containing a set of parameters for batch object detection.

The default constructor sets all parameters to their default settings.

Note
Parameters can be user adjusted.

Field Documentation

◆ enable

bool SL_BatchParameters::enable

Whether to enable the batch option in the object detection module.

Batch queueing system provides:

  • deep-learning based re-identification
  • trajectory smoothing and filtering

Default: false

Note
To activate this option, enable must be set to true.

◆ id_retention_time

float SL_BatchParameters::id_retention_time

Max retention time in seconds of a detected object.

After this time, the same object will mostly have a different id.

◆ latency

float SL_BatchParameters::latency

Trajectories will be output in batch with the desired latency in seconds.

During this waiting time, re-identification of objects is done in the background.

Note
Specifying a short latency will limit the search (falling in timeout) for previously seen object ids but will be closer to real time output.
Specifying a long latency will reduce the change of timeout in re-identification but increase difference with live output.