vision
IDetector.hpp
1 // -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*-
2 
3 #ifndef __DETECTOR_HPP__
4 #define __DETECTOR_HPP__
5 
6 #include <yarp/os/Bottle.h>
7 #include <yarp/sig/Image.h>
8 
9 namespace roboticslab
10 {
11 
16 class IDetector
17 {
18 public:
19  virtual ~IDetector() {}
20  virtual bool detect(const yarp::sig::Image& inYarpImg, yarp::os::Bottle& detectedObjects) = 0;
21 };
22 
23 } // namespace roboticslab
24 
25 #endif // __DETECTOR_HPP__
Interface for object detection.
Definition: IDetector.hpp:17
The main, catch-all namespace for Robotics Lab UC3M.
Definition: groups.dox:5