23 #include <yarp/os/Bottle.h>
24 #include <yarp/os/BufferedPort.h>
25 #include <yarp/os/PeriodicThread.h>
26 #include <yarp/os/PortReport.h>
28 #include <opencv2/opencv.hpp>
33 class ParticleFilter :
public yarp::os::BufferedPort<yarp::os::Bottle>
37 void onRead(yarp::os::Bottle &b);
40 bool getTraker(cv::Point &loc);
43 class SegmentationPoint :
public yarp::os::Port
46 void segment(yarp::os::Bottle &b);
49 class PointedLocation :
public yarp::os::BufferedPort<yarp::os::Bottle>
56 void onRead(yarp::os::Bottle &b);
60 bool getLoc(cv::Point &loc);