Tracore
|
#include <Berclaz.h>
Public Member Functions | |
Berclaz (int h_res, int v_res, int vicinity_size) | |
void | Run (core::DetectionSequence &sequence, size_t batch_size, size_t max_track_count, std::vector< core::TrackletPtr > &tracks, util::Filter2D &filter) |
Algorithm for tracking multiple object in a frame sequence. The algorithm needs the location of detections.
algo::Berclaz::Berclaz | ( | int | h_res, |
int | v_res, | ||
int | vicinity_size | ||
) |
Instantiate with the given parameters.
h_res | The horizontal grid resolution |
v_res | The vertical grid resolution |
vicinity_size | The maximum number of cells a detection can skip within one frame |
void algo::Berclaz::Run | ( | core::DetectionSequence & | sequence, |
size_t | batch_size, | ||
size_t | max_track_count, | ||
std::vector< core::TrackletPtr > & | tracks, | ||
util::Filter2D & | filter | ||
) |
Runs the algorithm on the given sequence. Splits the sequence into batches to allow faster processing.
sequence | The detection to use |
batch_size | The number of frames one batch will have at maximum |
max_track_count | The maximum number of tracks to extract |
tracks | The vector to store the found tracks into |
filter | The filter used to convolve the detections in the grid |