Open Detection
1.0
|
This is the main class for object detection and recognition. More...
#include <ObjectDetector.h>
Public Member Functions | |
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 | init ()=0 |
virtual void | initDetector () |
virtual void | initTrainer () |
virtual int | train ()=0 |
virtual int | detect (ODScene *scene, std::vector< ODDetection * > detections) |
virtual ODDetection * | detect (ODScene *scene) |
virtual ODDetections * | detectOmni (ODScene *scene) |
Protected Attributes | |
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_ |
This is the main class for object detection and recognition.
Definition at line 140 of file ObjectDetector.h.
|
inline |
Definition at line 144 of file ObjectDetector.h.
|
inlinevirtual |
Reimplemented in od::l2d::ODImageLocalMatching.
Definition at line 200 of file ObjectDetector.h.
|
inlinevirtual |
Definition at line 202 of file ObjectDetector.h.
|
inlinevirtual |
Definition at line 203 of file ObjectDetector.h.
|
inline |
Definition at line 157 of file ObjectDetector.h.
References always_train_.
|
inline |
Definition at line 147 of file ObjectDetector.h.
References method_.
|
inline |
Definition at line 187 of file ObjectDetector.h.
References TRAINED_DATA_IDENTIFIER_, and training_data_location_.
|
inline |
Definition at line 177 of file ObjectDetector.h.
References training_data_location_.
|
inline |
Definition at line 167 of file ObjectDetector.h.
References training_input_location_.
|
pure virtual |
Implemented in od::l2d::ODImageLocalMatching.
|
inlinevirtual |
Reimplemented in od::g2d::ODFaceRecognizer.
Definition at line 194 of file ObjectDetector.h.
|
inlinevirtual |
Reimplemented in od::g2d::ODFaceRecognizer.
Definition at line 195 of file ObjectDetector.h.
|
inline |
Definition at line 162 of file ObjectDetector.h.
References always_train_.
|
inline |
Definition at line 152 of file ObjectDetector.h.
References method_.
|
inline |
Definition at line 182 of file ObjectDetector.h.
References training_data_location_.
|
inline |
Definition at line 172 of file ObjectDetector.h.
References training_input_location_.
|
pure virtual |
Implemented in od::l2d::ODImageLocalMatching, and od::g2d::ODFaceRecognizer.
|
protected |
Definition at line 207 of file ObjectDetector.h.
Referenced by getAlwaysTrain(), and setAlwaysTrain().
|
protected |
Definition at line 206 of file ObjectDetector.h.
Referenced by getMethod(), and setDetectionMethod().
|
protected |
Definition at line 208 of file ObjectDetector.h.
|
protected |
Definition at line 211 of file ObjectDetector.h.
Referenced by od::l2d::ODImageLocalMatching::ODImageLocalMatching().
|
protected |
Definition at line 211 of file ObjectDetector.h.
Referenced by getSpecificTrainingDataLocation().
|
protected |
Definition at line 209 of file ObjectDetector.h.
Referenced by getSpecificTrainingDataLocation(), getTrainingDataLocation(), and setTrainingDataLocation().
|
protected |
Definition at line 209 of file ObjectDetector.h.
Referenced by getTrainingInputLocation(), and setTrainingInputLocation().