projects
/
trackerpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
re-locate config file
[trackerpp.git]
/
src
/
Metrics.h
diff --git
a/src/Metrics.h
b/src/Metrics.h
index
dbfca55
..
c991d9f
100644
(file)
--- a/
src/Metrics.h
+++ b/
src/Metrics.h
@@
-3,27
+3,30
@@
#include <string>
#include <opencv2/opencv.hpp>
#include <string>
#include <opencv2/opencv.hpp>
+#include "SharedPtr.h"
namespace suanzi {
namespace suanzi {
-class Metrics
-{
-public:
- Metrics(const std::string& cl_path = "");
- ~Metrics(){}
- long int MaxCost = 100000;
- const static int MaxPatch = 5;
+ TK_DECLARE_PTR(Metrics);
+ TK_DECLARE_PTR(Patch);
+ class Metrics
+ {
+ public:
+ Metrics(const std::string& cl_path = "");
+ ~Metrics(){}
+ const static long int MaxCost = 100000;
+ const static int MaxPatch = 5;
-private:
-
cv::HOGDescriptor descriptor
;
-};
+
private:
+
cv::HOGDescriptor descriptor = {cv::Size(64, 128), cv::Size(16, 16), cv::Size(8, 8), cv::Size(8, 8), 9}
;
+
};
-class Patch
-{
-public:
- Patch(){};
- ~Patch(){};
-};
+
class Patch
+
{
+
public:
+
Patch(){};
+
~Patch(){};
+
};
}
}