Fix issue boostpython not stopped by Ctrl+c
[trackerpp.git] / src / Metrics.cpp
index 37a3f9f..49822f2 100644 (file)
@@ -1,3 +1,4 @@
+#include "Logger.h"
 #include "Metrics.h"
 
 using namespace suanzi;
@@ -5,8 +6,13 @@ using namespace cv;
 
 Metrics::Metrics(const std::string& clf_path)
 {
-    descriptor = HOGDescriptor(Size(64, 128), Size(16, 16), Size(8, 8), Size(8, 8), 9);
     if (clf_path.empty()){
+
     } else {
+
     }
 }
+
+void Metrics::similarity(const Patch& p1, const Patch& p2)
+{
+}