Open Detection  1.0
od::l2d::ODImageLocalMatching Class Reference

ODImageLocalMatching. More...

#include <ODImageLocalMatching.h>

Inheritance diagram for od::l2d::ODImageLocalMatching:
Collaboration diagram for od::l2d::ODImageLocalMatching:

Public Member Functions

ODImageLocalMatchingTrainergetTrainer () const
 
void setTrainer (ODImageLocalMatchingTrainer *trainer_)
 
ODImageLocalMatchingDetectorgetDetector () const
 
void setDetector (ODImageLocalMatchingDetector *detector_)
 
 ODImageLocalMatching ()
 
void init ()
 
int train ()
 
int detect (ODScene *scene, std::vector< ODDetection * > detections)
 
- Public Member Functions inherited from od::ObjectDetector
 ObjectDetector ()
 
DetectionMethod const & getMethod () const
 
void setDetectionMethod (DetectionMethod const &detection_method_)
 
bool getAlwaysTrain () const
 
void setAlwaysTrain (bool always_train_)
 
std::string getTrainingInputLocation () const
 
void setTrainingInputLocation (std::string training_input_location_)
 
std::string getTrainingDataLocation () const
 
void setTrainingDataLocation (std::string training_data_location_)
 
std::string getSpecificTrainingDataLocation ()
 
virtual void initDetector ()
 
virtual void initTrainer ()
 
virtual ODDetectiondetect (ODScene *scene)
 
virtual ODDetectionsdetectOmni (ODScene *scene)
 

Protected Attributes

ODImageLocalMatchingTrainertrainer_
 
ODImageLocalMatchingDetectordetector_
 
- Protected Attributes inherited from od::ObjectDetector
DetectionMethod method_
 
bool always_train_
 
bool trained_
 
std::string training_input_location_
 
std::string training_data_location_
 
std::string TRAINED_DATA_EXT_
 
std::string TRAINED_DATA_IDENTIFIER_
 

Detailed Description

ODImageLocalMatching.

Author
Kripasindhu Sarkar

Definition at line 82 of file ODImageLocalMatching.h.

Constructor & Destructor Documentation

od::l2d::ODImageLocalMatching::ODImageLocalMatching ( )
inline

Definition at line 108 of file ODImageLocalMatching.h.

References od::ObjectDetector::TRAINED_DATA_EXT_.

Member Function Documentation

int od::l2d::ODImageLocalMatching::detect ( ODScene scene,
std::vector< ODDetection * >  detections 
)
inlinevirtual

Reimplemented from od::ObjectDetector.

Definition at line 122 of file ODImageLocalMatching.h.

ODImageLocalMatchingDetector* od::l2d::ODImageLocalMatching::getDetector ( ) const
inline

Definition at line 97 of file ODImageLocalMatching.h.

References detector_.

ODImageLocalMatchingTrainer* od::l2d::ODImageLocalMatching::getTrainer ( ) const
inline

Definition at line 87 of file ODImageLocalMatching.h.

References trainer_.

void od::l2d::ODImageLocalMatching::init ( )
inlinevirtual

Implements od::ObjectDetector.

Definition at line 113 of file ODImageLocalMatching.h.

void od::l2d::ODImageLocalMatching::setDetector ( ODImageLocalMatchingDetector detector_)
inline

Definition at line 102 of file ODImageLocalMatching.h.

References detector_.

void od::l2d::ODImageLocalMatching::setTrainer ( ODImageLocalMatchingTrainer trainer_)
inline

Definition at line 92 of file ODImageLocalMatching.h.

References trainer_.

int od::l2d::ODImageLocalMatching::train ( )
inlinevirtual

Implements od::ObjectDetector.

Definition at line 117 of file ODImageLocalMatching.h.

References od::ODTrainer::train(), and trainer_.

Member Data Documentation

ODImageLocalMatchingDetector* od::l2d::ODImageLocalMatching::detector_
protected

Definition at line 132 of file ODImageLocalMatching.h.

Referenced by getDetector(), and setDetector().

ODImageLocalMatchingTrainer* od::l2d::ODImageLocalMatching::trainer_
protected

Definition at line 131 of file ODImageLocalMatching.h.

Referenced by getTrainer(), setTrainer(), and train().


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