1 #ifndef MTF_CASCADE_SM_H 2 #define MTF_CASCADE_SM_H 4 #include "CompositeSM.h" 5 #include "mtf/SM/CascadeParams.h" 15 template<
class AM,
class SSM>
29 CascadeSM(
const vector<SM*> _trackers,
const ParamType *casc_params);
30 void initialize(
const cv::Mat &corners)
override;
31 void update()
override;
32 void setImage(
const cv::Mat &img)
override;
33 const cv::Mat& getRegion()
override{
return trackers[n_trackers - 1]->getRegion(); }
34 void setRegion(
const cv::Mat& corners)
override;
40 bool failure_detected;
41 vector<cv::Mat> img_buffer, corners_buffer;
46 void updateTrackers(
const cv::Mat &img);
Definition: CascadeParams.h:14
Definition: StateSpaceModel.h:35
base class for all composite search methods
Definition: CompositeSM.h:11
run multiple search methods in cascade with the same AM/SSM; although the code here is currently iden...
Definition: CascadeSM.h:16
Definition: SearchMethod.h:10