Structure containing a set of parameters for batch object detection. More...
Functions | |
BatchParameters (bool enable=false, float id_retention_time=240.f, float batch_duration=2.f) | |
Default constructor. More... | |
bool | operator== (const BatchParameters ¶m1) const |
bool | operator!= (const BatchParameters ¶m1) const |
Attributes | |
bool | enable = false |
Whether to enable the batch option in the object detection module. More... | |
float | id_retention_time = 240 |
Max retention time in seconds of a detected object. More... | |
float | latency = 2.f |
Trajectories will be output in batch with the desired latency in seconds. More... | |
Structure containing a set of parameters for batch object detection.
The default constructor sets all parameters to their default settings.
BatchParameters | ( | bool | enable = false , |
float | id_retention_time = 240.f , |
||
float | batch_duration = 2.f |
||
) |
Default constructor.
All the parameters are set to their default values.
bool operator== | ( | const BatchParameters & | param1 | ) | const |
Comparison operator ==
BatchParameters | to compare |
bool operator!= | ( | const BatchParameters & | param1 | ) | const |
Comparison operator !=
BatchParameters | to compare |
bool enable = false |
Whether to enable the batch option in the object detection module.
Batch queueing system provides:
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.
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.