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;
35 TrackerStatus status = TrackerStatus::Fire;
36 static constexpr int MaxPatch = 5;
39 TrackerStatus preStatus = TrackerStatus::Fire;
43 cv::KalmanFilter KF = {4,2};
47 #endif /* _TRACKER_H_ */