X-Boost  2.3.8
Functions
allocate.h File Reference

Allocator for classifier. More...

#include <iosfwd>
#include <Types.h>
#include "ImageClassifier.h"
#include "ObjectDetector.h"

Go to the source code of this file.

Functions

ImageClassifierallocate_classifier (const char *name, std::istream &in)
 
ImageClassifierallocate_classifier_from_file (const char *filename)
 
ObjectDetectorallocate_detector (const char *name, const char *filename)
 
ObjectDetectorallocate_detector_from_file (const char *filename)
 
void print_classifier_list (std::ostream &out)
 

Detailed Description

Allocator for classifier.

Function Documentation

ImageClassifier* allocate_classifier ( const char *  name,
std::istream &  in 
)

allocate an ImageClassifier, from a factory name and a stream

ImageClassifier* allocate_classifier_from_file ( const char *  filename)

allocate an ImageClassifier, from a filename

ObjectDetector* allocate_detector ( const char *  name,
const char *  filename 
)

allocate an ObjectDetector, from a factory name and a stream

ObjectDetector* allocate_detector_from_file ( const char *  filename)

allocate an ObjectDetector, from a filename

void print_classifier_list ( std::ostream &  out)

debug