projects
/
trackerpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add boost python, and predictor wrapper
[trackerpp.git]
/
include
/
Metrics.h
diff --git
a/include/Metrics.h
b/include/Metrics.h
index
c991d9f
..
3da8014
100644
(file)
--- a/
include/Metrics.h
+++ b/
include/Metrics.h
@@
-8,7
+8,8
@@
namespace suanzi {
TK_DECLARE_PTR(Metrics);
namespace suanzi {
TK_DECLARE_PTR(Metrics);
- TK_DECLARE_PTR(Patch);
+ //TK_DECLARE_PTR(Patch);
+ struct Patch;
class Metrics
{
public:
class Metrics
{
public:
@@
-16,16
+17,23
@@
namespace suanzi {
~Metrics(){}
const static long int MaxCost = 100000;
const static int MaxPatch = 5;
~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};
};
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
+
};
}
};
}