Open Detection
1.0
|
Detection for 2D with 2D location information. More...
#include <ODDetection.h>
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_) |
![]() | |
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_ |
Detection for 2D with 2D location information.
Definition at line 122 of file ODDetection.h.
|
inlinevirtual |
Definition at line 126 of file ODDetection.h.
|
inline |
Definition at line 129 of file ODDetection.h.
References location_2d_.
|
inline |
Definition at line 144 of file ODDetection.h.
References bounding_box_2d_.
|
inline |
Definition at line 134 of file ODDetection.h.
References location_2d_.
|
inline |
Definition at line 154 of file ODDetection.h.
References metainfo_image_.
|
inline |
Definition at line 149 of file ODDetection.h.
References bounding_box_2d_.
|
inline |
Definition at line 139 of file ODDetection.h.
References location_2d_.
|
inline |
Definition at line 159 of file ODDetection.h.
References metainfo_image_.
cv::Rect od::ODDetection2D::bounding_box_2d_ |
Definition at line 166 of file ODDetection.h.
Referenced by getBoundingBox(), od::ODDetections2D::renderMetainfo(), and setBoundingBox().
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().