37 #include <visp3/core/vpConfig.h>
39 #include <visp3/detection/vpDetectorBase.h>
50 std::vector<vpImagePoint> &
78 for (
size_t j = 0; j <
m_polygon[i].size(); j++) {
97 for (
size_t j = 0; j <
m_polygon[i].size(); j++) {
100 if (u < left) left = u;
101 if (u > right) right = u;
102 if (v < top) top = v;
103 if (v > bottom) bottom = v;
error that can be emited by ViSP classes.
vpImagePoint getCog(size_t i) const
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 ...
vpRect getBBox(size_t i) const
std::vector< std::vector< vpImagePoint > > m_polygon
For each object, defines the polygon that contains the object.