17 #ifndef OBJECT_H_INCLUDED 18 #define OBJECT_H_INCLUDED 30 #include <opencv2/core/core.hpp> 130 cv::Point2f centroid;
161 std::vector<PixelObject *> pixelObjects;
165 #endif // TARGET_H_INCLUDED Container class for storing information about identified targets in real-world measurements Adding Pi...
Definition: object.h:35
std::string get_type()
Getter for type field.
double get_error_angle()
Getter for error angle.
cv::Point2f get_centroid()
Getter for centroid.
Container class for storing information about interesting objects in photos or video frames using pix...
Definition: pixel_object.h:31
cv::Mat get_image()
Getter for Object image.
cv::Point2f get_error()
Getter for error.
const std::vector< Object * > & get_objects()
Getter for pixel Objects.
cv::Scalar get_colour()
Getter for colour.
double get_perimeter()
Getter for perimeter.
double get_area()
Getter for area.
void add_object(Object *o)
Adds given PixelObject to Object's storage and recalculate target information.