Open Detection
1.0
|
Training class for the detector ODCADDetector3DGlobal. More...
#include <ODCADDetectTrainer3DGlobal.h>
Public Member Functions | |
ODCADDetectTrainer3DGlobal (std::string const &training_input_location_="", std::string const &training_data_location_="") | |
int | train () |
void | init () |
std::string const & | getDescName () const |
void | setDescName (std::string const &desc_name) |
Public Member Functions inherited from od::ODTrainer | |
ODTrainer (std::string const &training_input_location="", std::string const &training_data_location="") | |
Public Member Functions inherited from od::ODDetectorCommon | |
ODDetectorCommon (std::string const &trained_data_location_="") | |
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) |
Protected Attributes | |
std::string | desc_name |
Protected Attributes inherited from od::ODDetectorCommon | |
std::string | training_input_location_ |
std::string | trained_data_location_ |
std::string | TRAINED_DATA_ID_ |
std::string | TRAINED_LOCATION_DENTIFIER_ |
Training class for the detector ODCADDetector3DGlobal.
This class uses PCL 3d_recognition_framework in the background for the training of 3D CAD models (in PLY format) and should be used with ODCADDetector3DGlobal for their detection in a pointcloud. In the training_input_location_ the CAD models should be arranged in the following structure:
For example:
After the training use the detector class ODCADDetector3DGlobal.
Definition at line 70 of file ODCADDetectTrainer3DGlobal.h.
|
inline |
Definition at line 74 of file ODCADDetectTrainer3DGlobal.h.
References desc_name, and od::ODDetectorCommon::TRAINED_LOCATION_DENTIFIER_.
|
inline |
Definition at line 85 of file ODCADDetectTrainer3DGlobal.h.
References desc_name.
|
inlinevirtual |
Implements od::ODDetectorCommon.
Definition at line 83 of file ODCADDetectTrainer3DGlobal.h.
|
inline |
Definition at line 90 of file ODCADDetectTrainer3DGlobal.h.
References desc_name.
|
virtual |
Implements od::ODTrainer.
|
protected |
Definition at line 96 of file ODCADDetectTrainer3DGlobal.h.
Referenced by getDescName(), ODCADDetectTrainer3DGlobal(), and setDescName().