]> git.treefish.org Git - stickletrack.git/blob - tracking.h
fixed comargs.
[stickletrack.git] / tracking.h
1 #include "opencv2/highgui/highgui.hpp"
2 #include "opencv2/imgproc/imgproc.hpp"
3
4 using namespace std;
5 using namespace cv;
6
7 struct tag {
8   double x;
9   double y;
10   double propZ;
11   double lastseen;
12   Scalar color;
13   double angle;
14   double longaxis;
15   double shortaxis;
16   double area;
17   double circum;
18   bool virgin;
19   Point2f head, tail;
20 };
21
22 void tracking_init( void (*mouseTracking)(int, int, int, int, void*) );
23 void tracking_locateTags(vector<tag>& tags, Mat combinedmask_contour);
24 Mat& tracking_getFrame();
25 int tracking_showFrame();
26 bool tracking_isEnabled();