unify the interface with detector
[trackerpp.git] / src / Metrics.h
index a436321..c991d9f 100644 (file)
@@ -14,11 +14,11 @@ namespace suanzi {
     public:
         Metrics(const std::string& cl_path = "");
         ~Metrics(){}
-        long int MaxCost = 100000;
+        const static long int MaxCost = 100000;
         const static int MaxPatch = 5;
 
     private:
-        cv::HOGDescriptor descriptor;
+        cv::HOGDescriptor descriptor = {cv::Size(64, 128), cv::Size(16, 16), cv::Size(8, 8), cv::Size(8, 8), 9};
     };
 
     class Patch