unify the interface with detector
[trackerpp.git] / src / Metrics.h
1 #ifndef _METRICS_H_
2 #define _METRICS_H_
3
4 #include <string>
5 #include <opencv2/opencv.hpp>
6 #include "SharedPtr.h"
7
8 namespace suanzi {
9
10     TK_DECLARE_PTR(Metrics);
11     TK_DECLARE_PTR(Patch);
12     class Metrics
13     {
14     public:
15         Metrics(const std::string& cl_path = "");
16         ~Metrics(){}
17         const static long int MaxCost = 100000;
18         const static int MaxPatch = 5;
19
20     private:
21         cv::HOGDescriptor descriptor = {cv::Size(64, 128), cv::Size(16, 16), cv::Size(8, 8), cv::Size(8, 8), 9};
22     };
23
24     class Patch
25     {
26     public:
27         Patch(){};
28         ~Patch(){};
29     };
30
31 }
32
33 #endif /* _METRICS_H_ */