X-Boost  2.3.8
Public Member Functions | Static Public Member Functions | List of all members
ObjectDetectorWrapper< _Instance, _Preprocessor > Class Template Reference

#include <ObjectDetectorWrapper.h>

Inherits ObjectDetector.

Public Member Functions

 ObjectDetectorWrapper (const char *filename)
 
virtual int addClassifier (const char *pth_cls, const ObjectDetectorParams &params)
 
std::string getSignature () const
 virtual
 
void setParams (const ObjectDetectorGlobalParams &params)
 Set the Global Params.
 
const ObjectDetectorGlobalParamsgetParams () const
 
void setClassifierParams (int index, const ObjectDetectorParams &params)
 set per-classifier params
 
const ObjectDetectorParamsgetClassifierParams (int index)
 get per-classifier params
 
virtual void Detect (std::vector< Candidate > &out, const ImageHandle &src)
 detect object
 

Static Public Member Functions

static std::string signature ()
 

Detailed Description

template<class _Instance, class _Preprocessor>
class ObjectDetectorWrapper< _Instance, _Preprocessor >

Wrapper used as bridge between classifier and preprocessor with the ImageClassifier object. All method are implemente here. Load instance and call detect of inner helper

Member Function Documentation

template<class _Instance , class _Preprocessor >
virtual int ObjectDetectorWrapper< _Instance, _Preprocessor >::addClassifier ( const char *  pth_cls,
const ObjectDetectorParams params 
)
inlinevirtual

Load and append an additional classifier to the internal processing pipeline

Returns
the index associated with the classifier

Implements ObjectDetector.


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