#include "common.h"#include <iostream.h>#include <iomanip.h>#include <fstream.h>#include <math.h>#include <time.h>#include <string>#include <dirent.h>#include <stdlib.h>#include <strstream.h>#include "viola_locator.h"#include "locator_defines.h"Defines | |
| #define | MAXIMGS 20000 |
Functions | |
| double | computeImageStdDev (GrayImage &img, unsigned int x=0, unsigned int y=0, int width=-1, int height=-1) |
| AdaBoostClassifier * | train_viola (string FaceDir, string NonFaceDir, string fileName, unsigned int T) |
| AdaBoostClassifier * | readClassifier (string fileName) |
| void | test (AdaBoostClassifier *classifier, string FaceDir, string NonFaceDir) |
|
|
|
|
||||||||||||||||||||||||
|
this function will compute the standard deviation for an image |
|
|
read an array of classifiers from a file
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002