improve install script
[trackerpp.git] / include / 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 //    struct Patch;
13     class Metrics
14     {
15     public:
16         Metrics(const std::string& cl_path = "");
17         ~Metrics(){}
18         const static long int MaxCost = 100000;
19         const static int MaxPatch = 5;
20         //double distance()
21     private:
22         cv::HOGDescriptor descriptor = {cv::Size(64, 128), cv::Size(16, 16), cv::Size(8, 8), cv::Size(8, 8), 9};
23     };
24
25 //    struct Patch
26 //    {
27 //        // bb_ltrb
28 //        //
29 //        // image_crop
30 //        cv::Mat image_crop;
31 //        //
32 //        // features
33 //    };
34 }
35
36 #endif /* _METRICS_H_ */