4 #include <opencv2/opencv.hpp>
9 #include "MultiTracker.h"
14 TK_DECLARE_PTR(Tracker);
15 TK_DECLARE_PTR(Patch);
27 Tracker(const cv::Mat& image, const Detection& d, int id = 0);
29 void updateState(const cv::Mat& image);
30 void addPatch(PatchPtr p);
31 void correct(const cv::Mat& image, const Detection& d);
33 std::vector<PatchPtr> patches;
37 TrackerStatus preStatus;
41 cv::KalmanFilter kf = {4,2};
47 #endif /* _TRACKER_H_ */