34#ifndef VP_DETECTOR_BASE_H
35#define VP_DETECTOR_BASE_H
42#include <visp3/core/vpImage.h>
43#include <visp3/core/vpImagePoint.h>
44#include <visp3/core/vpRect.h>
103 std::string &getMessage(
size_t i);
118 std::vector<vpImagePoint> &getPolygon(
size_t i);
std::vector< std::string > m_message
Message attached to each object.
std::vector< std::vector< vpImagePoint > > & getPolygon()
std::vector< std::vector< vpImagePoint > > m_polygon
For each object, defines the polygon that contains the object.
vpRect getBBox(size_t i) const
void setTimeout(unsigned long timeout_ms)
size_t m_nb_objects
Number of detected objects.
unsigned long m_timeout_ms
Detection timeout.
std::vector< std::string > & getMessage()
size_t getNbObjects() const
virtual ~vpDetectorBase()
vpImagePoint getCog(size_t i) const
virtual bool detect(const vpImage< unsigned char > &I)=0
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
Definition of the vpImage class member functions.
Defines a rectangle in the plane.