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