3 #ifndef __RGB_DETECTION_HPP__
4 #define __RGB_DETECTION_HPP__
6 #include <yarp/os/Bottle.h>
7 #include <yarp/os/BufferedPort.h>
8 #include <yarp/os/RFModule.h>
10 #include <yarp/dev/PolyDriver.h>
11 #include <yarp/dev/IFrameGrabberImage.h>
13 #include <yarp/sig/Image.h>
15 #include "IDetector.hpp"
16 #include "YarpCropCallback.hpp"
31 bool configure(yarp::os::ResourceFinder & rf)
override;
32 double getPeriod()
override;
33 bool updateModule()
override;
34 bool interruptModule()
override;
35 bool close()
override;
38 yarp::dev::PolyDriver sensorDevice;
39 yarp::dev::IFrameGrabberImage * frameGrabber;
41 yarp::dev::PolyDriver detectorDevice;
44 yarp::os::BufferedPort<yarp::os::Bottle> statePort;
45 yarp::os::BufferedPort<yarp::sig::ImageOf<yarp::sig::PixelRgb>> imagePort;
47 yarp::os::BufferedPort<yarp::os::Bottle> cropPort;
Interface for object detection.
Definition: IDetector.hpp:17
2D detection.
Definition: RgbDetection.hpp:26
Definition: YarpCropCallback.hpp:23
The main, catch-all namespace for Robotics Lab UC3M.
Definition: groups.dox:5