BatchParameters Class Reference

sets batch trajectory parameters More...

Functions

 BatchParameters (bool enable=false, float id_retention_time=240.f, float batch_duration=2.f)
 Default constructor. Set all parameters to their default values. More...
 
bool operator== (const BatchParameters &param1) const
 
bool operator!= (const BatchParameters &param1) const
 

Attributes

bool enable = false
 Defines if the Batch option in the object detection module is enabled. Batch queueing system provides: More...
 
float id_retention_time = 240
 Max retention time in seconds of a detected object. After this time, the same object will mostly have a different ID. More...
 
float latency = 2.f
 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. 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-ID but increase difference with live output. More...
 

Detailed Description

sets batch trajectory parameters

The default constructor sets all parameters to their default settings.

Note
Parameters can be user adjusted.

Constructor and Destructor

◆ BatchParameters()

BatchParameters ( bool  enable = false,
float  id_retention_time = 240.f,
float  batch_duration = 2.f 
)

Default constructor. Set all parameters to their default values.

Functions

◆ operator==()

bool operator== ( const BatchParameters param1) const

Comparison operator ==

Parameters
BatchParametersto compare
Returns
true if the two struct are identical

◆ operator!=()

bool operator!= ( const BatchParameters param1) const

Comparison operator !=

Parameters
BatchParametersto compare
Returns
true if the two struct are different

Variables

◆ enable

bool enable = false

Defines if the Batch option in the object detection module is enabled. Batch queueing system provides:

  • Deep-Learning based re-identification
  • Trajectory smoothing and filtering
    Note
    To activate this option, enable must be set to true.

◆ id_retention_time

float id_retention_time = 240

Max retention time in seconds of a detected object. After this time, the same object will mostly have a different ID.

◆ latency

float latency = 2.f

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. 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-ID but increase difference with live output.