Open Detection  1.0
od::ODTrainer Class Referenceabstract

The base class for all trainers. More...

#include <ODTrainer.h>

Inheritance diagram for od::ODTrainer:
Collaboration diagram for od::ODTrainer:

Public Member Functions

 ODTrainer (std::string const &training_input_location="", std::string const &training_data_location="")
virtual int train ()=0
- Public Member Functions inherited from od::ODDetectorCommon
 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

- Protected Attributes inherited from od::ODDetectorCommon
std::string training_input_location_
std::string trained_data_location_
std::string TRAINED_DATA_ID_

Detailed Description

The base class for all trainers.

All trainers derives from this and implement the function train().

Kripasindhu Sarkar
objectdetector/od_pc_global_files.cpp, and objectdetector/od_pc_global_real_time.cpp.

Definition at line 51 of file ODTrainer.h.

Constructor & Destructor Documentation

od::ODTrainer::ODTrainer ( std::string const &  training_input_location = "",
std::string const &  training_data_location = "" 

Definition at line 55 of file ODTrainer.h.

References od::ODDetectorCommon::training_input_location_.

Member Function Documentation

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