Open Detection  1.0
od::ODDetection2D Class Reference

Detection for 2D with 2D location information. More...

#include <ODDetection.h>

Inheritance diagram for od::ODDetection2D:
Collaboration diagram for od::ODDetection2D:

Public Member Functions

virtual ~ODDetection2D ()
 
 ODDetection2D (DetectionType const &type_=OD_DETECTION_NULL, std::string const &id_="", double confidence_=1)
 
Eigen::Vector3d const & getLocation () const
 
void setLocation (Eigen::Vector3d const &location_)
 
cv::Rect const & getBoundingBox () const
 
void setBoundingBox (cv::Rect const &bounding_box_)
 
cv::Mat const & getMetainfoImage () const
 
void setMetainfoImage (cv::Mat const &metainfo_image_)
 
- Public Member Functions inherited from od::ODDetection
 OD_DEFINE_ENUM_WITH_STRING_CONVERSIONS (DetectionType,(OD_DETECTION_RECOG)(OD_DETECTION_CLASS)(OD_DETECTION_NULL)) virtual ~ODDetection()
 
 ODDetection (DetectionType const &type_=OD_DETECTION_NULL, std::string const &id_="", double confidence_=1)
 
void printSelf ()
 
DetectionType const & getType () const
 
void setType (DetectionType const &type_)
 
std::string const & getId () const
 
void setId (std::string const &id_)
 
double getConfidence () const
 Get/Set the confidence of the detection. More...
 
void setConfidence (double confidence_)
 Get/Set the confidence of the detection. More...
 

Public Attributes

Eigen::Vector3d location_2d_
 
cv::Rect bounding_box_2d_
 
cv::Mat metainfo_image_
 

Detailed Description

Detection for 2D with 2D location information.

Author
Kripasindhu Sarkar

Definition at line 122 of file ODDetection.h.

Constructor & Destructor Documentation

virtual od::ODDetection2D::~ODDetection2D ( )
inlinevirtual

Definition at line 126 of file ODDetection.h.

od::ODDetection2D::ODDetection2D ( DetectionType const &  type_ = OD_DETECTION_NULL,
std::string const &  id_ = "",
double  confidence_ = 1 
)
inline

Definition at line 129 of file ODDetection.h.

References location_2d_.

Member Function Documentation

cv::Rect const& od::ODDetection2D::getBoundingBox ( ) const
inline

Definition at line 144 of file ODDetection.h.

References bounding_box_2d_.

Eigen::Vector3d const& od::ODDetection2D::getLocation ( ) const
inline

Definition at line 134 of file ODDetection.h.

References location_2d_.

cv::Mat const& od::ODDetection2D::getMetainfoImage ( ) const
inline

Definition at line 154 of file ODDetection.h.

References metainfo_image_.

void od::ODDetection2D::setBoundingBox ( cv::Rect const &  bounding_box_)
inline

Definition at line 149 of file ODDetection.h.

References bounding_box_2d_.

void od::ODDetection2D::setLocation ( Eigen::Vector3d const &  location_)
inline

Definition at line 139 of file ODDetection.h.

References location_2d_.

void od::ODDetection2D::setMetainfoImage ( cv::Mat const &  metainfo_image_)
inline

Definition at line 159 of file ODDetection.h.

References metainfo_image_.

Member Data Documentation

cv::Rect od::ODDetection2D::bounding_box_2d_
Eigen::Vector3d od::ODDetection2D::location_2d_

Definition at line 165 of file ODDetection.h.

Referenced by getLocation(), ODDetection2D(), and setLocation().

cv::Mat od::ODDetection2D::metainfo_image_

Definition at line 167 of file ODDetection.h.

Referenced by getMetainfoImage(), and setMetainfoImage().


The documentation for this class was generated from the following file: