X-Boost  2.3.8
Typedefs | Functions
register.h File Reference

builder for classifier More...

#include <string>
#include "ImageClassifier.h"
#include "ObjectDetector.h"

Go to the source code of this file.

Typedefs

typedef ImageClassifier *(* ClassifierFactory )(std::istream &)
 
typedef ObjectDetector *(* DetectorFactory )(const char *filename)
 

Functions

bool register_classifier_factory (const std::string &name, ClassifierFactory, DetectorFactory)
 register a ClassifierFactory in the factory pool
 
template<class T >
ImageClassifierdetail::ic_builder (std::istream &in)
 stub method
 
template<class T >
ObjectDetectordetail::od_builder (const char *filename)
 
template<class A , class B >
bool register_classifier_factory_wrapper ()
 

Detailed Description

builder for classifier

Typedef Documentation

typedef ImageClassifier*(* ClassifierFactory)(std::istream &)

the classifier factories

Function Documentation

template<class A , class B >
bool register_classifier_factory_wrapper ( )

a wrapper used to register T object

register_classifier_factory_wrapper< ClassifierWrapper< BoostClassifier<HaarClassifier> > >();