76 BufferedPort<ImageOf<PixelRgb> > imgPort[2];
77 BufferedPort<Bottle> mCUTPort[2];
78 BufferedPort<Bottle> rawInPort[2];
79 BufferedPort<Vector> pftInPort;
88 BufferedPort<Bottle> recMILPort;
92 BufferedPort<Bottle> recMSRPort;
99 unsigned int minMotionBufSize;
100 unsigned int minTrackBufSize;
101 unsigned int maxTrackBufSize;
103 double motionStdThresh;
104 double speedStdThresh;
105 double stereoDistThresh;
107 double rawWaitThresh;
108 double motionWaitThresh;
109 double objectWaitThresh;
112 ImageOf<PixelRgb> *img[2];
113 ImageOf<PixelBgr> tpl;
116 deque<Vector> trackBuffer;
131 deque<Item> buffer[2];
133 map<string,CvPoint> locations;
136 bool getFixation(Bottle &bStereo);
137 bool getMotion(Bottle &bStereo);
138 bool getTrack(Bottle &bStereo);
139 bool getRaw(Bottle &bStereo);
140 bool getObject(
const string &object_name, Bottle &bStereo);
145 void updateLocationsMIL();
146 void updateMotionCUT();
147 void updatePFTracker();
158 lock_guard<mutex> lck(trackMutex);
164 void startTracker(
const Vector &stereo,
const int &side);
174 bool getTarget(Value &type, Bottle &target);