Open Detection  1.0
od::ODDetector Class Reference

The main detector class; all special Detectors derives from this. More...

#include <ODDetector.h>

Inheritance diagram for od::ODDetector:
Collaboration diagram for od::ODDetector:

Public Member Functions

 ODDetector (std::string const &training_data_location_)
 
virtual ODDetectionsdetect (ODScene *scene)
 
virtual ODDetectionsdetectOmni (ODScene *scene)
 
- 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)
 

Public Attributes

bool metainfo_
 

Additional Inherited Members

- 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_
 

Detailed Description

The main detector class; all special Detectors derives from this.

Provides interface for two important function detect() and detectOmni(). detectOmni() performs a detection/recognition on the entire scene (unsegmented and unprocessed) and provides information about the detection as well as its exact location. detect() takes an 'object candidate' or a segmented/processed scene as an input and identifies if the entire scene is a detection.

Author
Kripasindhu Sarkar

Definition at line 51 of file ODDetector.h.

Constructor & Destructor Documentation

od::ODDetector::ODDetector ( std::string const &  training_data_location_)
inline

Definition at line 55 of file ODDetector.h.

Member Function Documentation

virtual ODDetections* od::ODDetector::detect ( ODScene scene)
inlinevirtual

Reimplemented in od::ODDetector2D.

Definition at line 58 of file ODDetector.h.

virtual ODDetections* od::ODDetector::detectOmni ( ODScene scene)
inlinevirtual

Definition at line 59 of file ODDetector.h.

Member Data Documentation


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