Doxygen
boostUtil.h File Reference

header file for the Viola-Jones algorithm's training routines More...

#include <vector>
#include "TrainExamples.h"
+ Include dependency graph for boostUtil.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  trainParams
 human interface for adaboost training More...
 

Functions

void train (trainParams const &target)
 train a cascade, see the definition of trainParams More...
 
void recordRule (const char *toFile, vector< stumpRule > const &rule, bool firstLayer, bool lastLayer)
 record a strong learner to toFile More...
 

Detailed Description

header file for the Viola-Jones algorithm's training routines

Author
Yi-Qing WANG yiqin.nosp@m.g.wa.nosp@m.ng@po.nosp@m.lyte.nosp@m.chniq.nosp@m.ue.e.nosp@m.du

Definition in file boostUtil.h.

Function Documentation

void recordRule ( const char *  toFile,
vector< stumpRule > const &  rule,
bool  firstLayer,
bool  lastLayer 
)

record a strong learner to toFile

Parameters
toFilewhere
rulethe strong learner
firstLayeris it a firstLayer in the cascade
lastLayeris it a last layer in the cascade

Definition at line 259 of file boostUtil.cpp.

void train ( trainParams const &  target)

train a cascade, see the definition of trainParams

Definition at line 44 of file boostUtil.cpp.