X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=include%2FMetrics.h;h=2aa79399179c66f160188ecc371b74629f47d6ff;hb=8b450dd21387f7775cfc68dee771bda82c0f8ed6;hp=ad1a827e841799b2def13b10f80511697f16dfcc;hpb=3ff9a5ad691b8dca9d91f8e9786a8d08d31b70fa;p=trackerpp.git diff --git a/include/Metrics.h b/include/Metrics.h index ad1a827..2aa7939 100644 --- a/include/Metrics.h +++ b/include/Metrics.h @@ -9,7 +9,7 @@ namespace suanzi { TK_DECLARE_PTR(Metrics); //TK_DECLARE_PTR(Patch); - struct Patch; +// struct Patch; class Metrics { public: @@ -17,26 +17,20 @@ namespace suanzi { ~Metrics(){} const static long int MaxCost = 100000; const static int MaxPatch = 5; - void similarity(const Patch& p1, const Patch& p2); //double distance() - - private: cv::HOGDescriptor descriptor = {cv::Size(64, 128), cv::Size(16, 16), cv::Size(8, 8), cv::Size(8, 8), 9}; }; - struct Patch - { - // bb_ltrb - - // - // image_crop - cv::Mat image_crop; - // - // features - - }; - +// struct Patch +// { +// // bb_ltrb +// // +// // image_crop +// cv::Mat image_crop; +// // +// // features +// }; } #endif /* _METRICS_H_ */