- TrackerPtr createTracker(int id = 0);
- void removeTracker(TrackerPtr t);
- void correctTrackers(MetricsPtr m, cv::Mat& image);
- void initNewTrackers(cv::Mat& iamge);
+ PredictorWrapperPtr predictor;
+ cv::HOGDescriptor descriptor;
+ EngineWPtr engine;
+ };
+
+ class Patch
+ {
+ public:
+ ~Patch(){};
+ cv::Mat image_crop;
+ // hog is a hog descriptor of the image (calculated by hog.compute. size is 3780 )
+ // hue is a histogram of the image, (calcHist(), is a Mat with (width x height) 64 x 45)
+ std::pair<std::vector<double>, cv::Mat> features;
+ Detection detection;
+ protected:
+ friend class MultiTracker;
+ Patch(){};