MTF
CascadeParams.h
1 #ifndef MTF_CASCADE_PARAMS_H
2 #define MTF_CASCADE_PARAMS_H
3 
4 #include "mtf/Macros/common.h"
5 
6 #define CASC_ENABLE_FEEDBACK true
7 #define CASC_AUTO_REINIT false
8 #define CASC_REINIT_ERR_THRESH 10
9 #define CASC_REINIT_FRAME_GAP 1
10 
11 
12 _MTF_BEGIN_NAMESPACE
13 
35  CascadeParams(bool _enable_feedback, bool _auto_reinit,
36  double _reinit_err_thresh, int _reinit_frame_gap);
37  CascadeParams(const CascadeParams *params = nullptr);
38 };
39 _MTF_END_NAMESPACE
40 
41 #endif
42 
Definition: CascadeParams.h:14
bool enable_feedback
use the position of the last tracker in the cascade to update that of the first tracker before updati...
Definition: CascadeParams.h:19
bool auto_reinit
automatically reinitialize all trackers when the change in corners between consecutive any two tracke...
Definition: CascadeParams.h:24
int reinit_frame_gap
gap between the frame in which the failure is detected and the one where trackers are reinitialized ...
Definition: CascadeParams.h:34
double reinit_err_thresh
threshold of corner change norm above which failure is assumed and trackers are reinitialized ...
Definition: CascadeParams.h:29