39 #ifndef _vpDetectorBase_h_ 40 #define _vpDetectorBase_h_ 47 #include <visp3/core/vpImage.h> 48 #include <visp3/core/vpImagePoint.h> 49 #include <visp3/core/vpRect.h> 96 vpRect getBBox(
size_t i)
const;
111 std::string &getMessage(
size_t i);
121 std::vector<std::vector<vpImagePoint> > &
getPolygon() {
return m_polygon; }
126 std::vector<vpImagePoint> &getPolygon(
size_t i);
129 inline void setTimeout(
unsigned long timeout_ms) { m_timeout_ms = timeout_ms; }
unsigned long m_timeout_ms
Detection timeout.
virtual ~vpDetectorBase()
void setTimeout(unsigned long timeout_ms)
size_t getNbObjects() const
size_t m_nb_objects
Number of detected objects.
std::vector< std::vector< vpImagePoint > > m_polygon
For each object, defines the polygon that contains the object.
Defines a rectangle in the plane.
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
std::vector< std::string > & getMessage()
std::vector< std::string > m_message
Message attached to each object.
std::vector< std::vector< vpImagePoint > > & getPolygon()