10 #include <opencv2/core/types.hpp> 29 using ptr = std::shared_ptr< detected_object >;
32 cv::Rect
const & depth_location = cv::Rect {},
float intensity = 1,
float depth = 0 );
36 void move( cv::Rect
const & location, cv::Rect
const & depth_location = cv::Rect {},
float intensity = 1,
float depth = 0 )
39 _depth_location = depth_location;
40 _intensity = intensity;
detected_object(size_t id, std::string const &label, cv::Rect const &location, cv::Rect const &depth_location=cv::Rect{}, float intensity=1, float depth=0)
std::list< detected_object::ptr > detected_objects
GLint GLint GLsizei GLsizei GLsizei depth
GLsizei const GLchar *const * string
float get_intensity() const
cv::Rect const & get_depth_location() const
cv::Rect const & get_location() const
std::string const & get_label() const
virtual ~detected_object()
void move(cv::Rect const &location, cv::Rect const &depth_location=cv::Rect{}, float intensity=1, float depth=0)
GLuint GLsizei const GLchar * label
detected_object::ptr find_object(cv::Rect rect, detected_objects const &objects)
std::shared_ptr< detected_object > ptr