X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;ds=sidebyside;f=include%2FMultiTracker.h;h=2a9d0bc18829a83698d5dbb70b81b5b5a8d4ad58;hb=97b147e9106cb549dd7dd62829b9d29b326738c7;hp=66ea04e12bc16a01a522239a99c012abaaa2af30;hpb=b8f65122758fbbecdb5574acfbca01fe8303c179;p=trackerpp.git diff --git a/include/MultiTracker.h b/include/MultiTracker.h index 66ea04e..2a9d0bc 100644 --- a/include/MultiTracker.h +++ b/include/MultiTracker.h @@ -28,6 +28,7 @@ namespace suanzi { int max_id = 0; PatchPtr createPatch(const cv::Mat& image, const Detection& d); double distance(TrackerPtr t, const cv::Mat& image, const Detection& d); + void addTracker(TrackerPtr t); PredictorWrapperPtr predictor; cv::HOGDescriptor descriptor; EngineWPtr engine; @@ -38,7 +39,6 @@ namespace suanzi { public: ~Patch(){}; cv::Mat image_crop; - //std::vector features; // 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, cv::Mat> features;