#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(){}
+ long int MaxCost = 100000;
+ const static int MaxPatch = 5;
-private:
- cv::HOGDescriptor descriptor;
-};
+ private:
+ cv::HOGDescriptor descriptor;
+ };
-class Patch
-{
-public:
- Patch(){};
- ~Patch(){};
-};
+ class Patch
+ {
+ public:
+ Patch(){};
+ ~Patch(){};
+ };
}