Open Detection
1.0
|
The detector of 2D scene. More...
#include <ODDetector.h>
Public Member Functions | |
ODDetector2D (std::string const &trained_data_location_) | |
ODDetections * | detect (ODScene *scene) |
virtual ODDetections * | detect (ODSceneImage *scene)=0 |
Function for performing detection on a segmented scene. More... | |
virtual ODDetections2D * | detectOmni (ODSceneImage *scene)=0 |
Function for performing detection on an entire scene. More... | |
![]() | |
ODDetector (std::string const &training_data_location_) | |
virtual ODDetections * | detectOmni (ODScene *scene) |
![]() | |
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 | |
![]() | |
bool | metainfo_ |
![]() | |
std::string | training_input_location_ |
std::string | trained_data_location_ |
std::string | TRAINED_DATA_ID_ |
std::string | TRAINED_LOCATION_DENTIFIER_ |
The detector of 2D scene.
This class takes a 2D scene (ODSceneImage) as input and performs detection on them. All the 2D detectors should derive from this class and implement the detect and detectOmni functions.
Definition at line 72 of file ODDetector.h.
|
inline |
Definition at line 75 of file ODDetector.h.
|
inlinevirtual |
Reimplemented from od::ODDetector.
Definition at line 78 of file ODDetector.h.
|
pure virtual |
Function for performing detection on a segmented scene.
The purpose of this function is to perform detection on a segmented scene or an 'object candidate'. i.e. the entire scene is considered as an 'object' or an detection. It is possible for a scene to trigger multiple detections.
[in] | scene | An instance of 2D scene |
Implemented in od::g2d::ODHOGDetector, od::g2d::ODCascadeDetector, and od::ODDetectorMultiAlgo2D.
|
pure virtual |
Function for performing detection on an entire scene.
The purpose of this function is to detect an object in an entire scene. Thus, other than the type of detection we also have information about the location of the detection w.r.t. the scene.
[in] | scene | An instance of 2D scene |
Implemented in od::g2d::ODHOGDetector, od::g2d::ODCascadeDetector, and od::ODDetectorMultiAlgo2D.