31 #ifndef FRAME_H_INCLUDED 32 #define FRAME_H_INCLUDED 42 #include <opencv2/core/core.hpp> 99 void save(std::string dir);
134 std::vector<PixelObject *> objects;
143 #endif // FRAME_H_INCLUDED void save(std::string dir)
Stores the frame as an image file.
Definition: frame.cpp:79
std::vector< PixelObject * > & get_objects()
getter for targets
Definition: frame.cpp:71
std::string get_id()
Definition: frame.cpp:54
void add_object(PixelObject *o)
Adds given object to the list of objects in the frame.
Definition: frame.cpp:66
cv::Mat * undistort(Camera &camera)
returns a new undistorted image using the given camera Intended for testing purposes, Does not modify the Frame.
Definition: frame.cpp:45
cv::Mat & get_img()
Definition: frame.cpp:58
Container class for storing information about interesting objects in photos or video frames using pix...
Definition: pixel_object.h:31
cv::Mat & orig_img()
Original Image.
Definition: frame.cpp:62
Container class for storing information about the camera used to capture an image *...
Definition: camera.h:28
const Metadata * get_metadata()
getter for metadata
Definition: frame.cpp:75