35 #include <visp3/core/vpConfig.h>
37 #include <visp3/detection/vpDetectorBase.h>
45 : m_polygon(o.m_polygon), m_message(o.m_message), m_nb_objects(o.m_nb_objects), m_timeout_ms(o.m_timeout_ms)
79 for (
size_t j = 0; j <
m_polygon[i].size(); j++) {
97 for (
size_t j = 0; j <
m_polygon[i].size(); j++) {
std::vector< std::vector< vpImagePoint > > & getPolygon()
std::vector< std::string > m_message
Message attached to each object.
std::vector< std::vector< vpImagePoint > > m_polygon
For each object, defines the polygon that contains the object.
vpRect getBBox(size_t i) const
vpImagePoint getCog(size_t i) const
std::vector< std::string > & getMessage()
error that can be emitted by ViSP classes.
@ badValue
Used to indicate that a value is not in the allowed range.
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
Defines a rectangle in the plane.