Open Detection
1.0
|
The main detector class; all special Detectors derives from this. More...
#include <ODDetector.h>
Public Member Functions | |
ODDetector (std::string const &training_data_location_) | |
virtual ODDetections * | detect (ODScene *scene) |
virtual ODDetections * | detectOmni (ODScene *scene) |
![]() | |
ODDetectorCommon (std::string const &trained_data_location_="") | |
virtual void | init ()=0 |
std::string | getTrainingInputLocation () const |
Gets/Sets the directory containing the data for training. More... | |
void | setTrainingInputLocation (std::string training_input_location_) |
Gets/Sets the directory containing the data for training. More... | |
std::string | getTrainedDataLocation () const |
Gets/Sets the base directory for trained data. More... | |
virtual void | setTrainedDataLocation (std::string trained_data_location_) |
The base directory for trained data. More... | |
std::string | getSpecificTrainingDataLocation () |
Gets the specific directory for a Trainer or a Detector inside trained_data_location_. More... | |
std::string | getSpecificTrainingData () |
std::string const & | getTrainedDataID () const |
void | setTrainedDataID (std::string const &trainedDataID) |
Public Attributes | |
bool | metainfo_ |
Additional Inherited Members | |
![]() | |
std::string | training_input_location_ |
std::string | trained_data_location_ |
std::string | TRAINED_DATA_ID_ |
std::string | TRAINED_LOCATION_DENTIFIER_ |
The main detector class; all special Detectors derives from this.
Provides interface for two important function detect() and detectOmni(). detectOmni() performs a detection/recognition on the entire scene (unsegmented and unprocessed) and provides information about the detection as well as its exact location. detect() takes an 'object candidate' or a segmented/processed scene as an input and identifies if the entire scene is a detection.
Definition at line 51 of file ODDetector.h.
|
inline |
Definition at line 55 of file ODDetector.h.
|
inlinevirtual |
Reimplemented in od::ODDetector2D.
Definition at line 58 of file ODDetector.h.
|
inlinevirtual |
Definition at line 59 of file ODDetector.h.
bool od::ODDetector::metainfo_ |
Definition at line 61 of file ODDetector.h.
Referenced by od::l2d::ODCADRecognizer2DLocal::isMetainfo(), od::g2d::ODHOGDetector::OD_DEFINE_ENUM_WITH_STRING_CONVERSIONS(), od::l2d::ODCADRecognizer2DLocal::ODCADRecognizer2DLocal(), od::g2d::ODCascadeDetector::ODCascadeDetector(), and od::l2d::ODCADRecognizer2DLocal::setMetainfo().