Add boost python, and predictor wrapper
[trackerpp.git] / include / Metrics.h
index c991d9f..3da8014 100644 (file)
@@ -8,7 +8,8 @@
 namespace suanzi {
 
     TK_DECLARE_PTR(Metrics);
-    TK_DECLARE_PTR(Patch);
+    //TK_DECLARE_PTR(Patch);
+    struct Patch;
     class Metrics
     {
     public:
@@ -16,16 +17,23 @@ namespace suanzi {
         ~Metrics(){}
         const static long int MaxCost = 100000;
         const static int MaxPatch = 5;
+        void similarity(const Patch& p1, const Patch& p2);
+
 
     private:
         cv::HOGDescriptor descriptor = {cv::Size(64, 128), cv::Size(16, 16), cv::Size(8, 8), cv::Size(8, 8), 9};
     };
 
-    class Patch
+    struct Patch
     {
-    public:
-        Patch(){};
-        ~Patch(){};
+        // bb_ltrb
+        
+        //
+        // image_crop
+        cv::Mat image_crop;
+        //
+        // features
+
     };
 
 }