Open Detection
1.0
|
The base class for all trainers. More...
#include <ODTrainer.h>
Public Member Functions | |
ODTrainer (std::string const &training_input_location="", std::string const &training_data_location="") | |
virtual int | train ()=0 |
![]() | |
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) |
Additional Inherited Members | |
![]() | |
std::string | training_input_location_ |
std::string | trained_data_location_ |
std::string | TRAINED_DATA_ID_ |
std::string | TRAINED_LOCATION_DENTIFIER_ |
The base class for all trainers.
All trainers derives from this and implement the function train().
Definition at line 51 of file ODTrainer.h.
|
inline |
Definition at line 55 of file ODTrainer.h.
References od::ODDetectorCommon::training_input_location_.
|
pure virtual |
Implemented in od::g2d::ODHOGTrainer, od::g3d::ODCADDetectTrainer3DGlobal, and od::l2d::ODCADRecogTrainerSnapshotBased.
Referenced by od::l2d::ODImageLocalMatching::train().