#include <string>
#include <opencv2/opencv.hpp>
+#include "SharedPtr.h"
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(){};
+ };
}