namespace suanzi {
TK_DECLARE_PTR(Metrics);
- TK_DECLARE_PTR(Patch);
+ //TK_DECLARE_PTR(Patch);
+ struct Patch;
class Metrics
{
public:
~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
+
};
}