38 #ifndef __vpDetectorBase_h__
39 #define __vpDetectorBase_h__
46 #include <visp3/core/vpImage.h>
47 #include <visp3/core/vpImagePoint.h>
48 #include <visp3/core/vpRect.h>
95 std::vector<vpImagePoint> & getPolygon(
size_t i);
100 std::string & getMessage(
size_t i);
105 std::vector< std::string > &
getMessage() {
return m_message; }
120 vpRect getBBox(
size_t i)
const ;
virtual ~vpDetectorBase()
size_t getNbObjects() const
size_t m_nb_objects
Number of detected objects.
std::vector< std::vector< vpImagePoint > > & getPolygon()
std::vector< std::string > & getMessage()
std::vector< std::string > m_message
Message attached to each 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::vector< vpImagePoint > > m_polygon
For each object, defines the polygon that contains the object.