6 #ifndef PEDESTRAIN_COUNTING_HEADER
7 #define PEDESTRAIN_COUNTING_HEADER
10 #include "meanshift.h"
12 #include "VideoDetector.h"
13 #include "BKGCutDetector.h"
14 #include "AdaBoostClassifier.h"
15 #include "HoGIntegralImage.h"
16 #include "RGIIntegralImage.h"
17 #include "GrayScaleIntegralImage.h"
18 #include "StrongClassifierDirectSelect.h"
19 #include "ParticleFilterTracker.h"
20 #include "MultiTracker.h"
22 const int BKG_DETECTION_NUM_CLUSTER = 3;
23 const int BKG_VIDEO_PIC_NUM_ALL = 50;
25 #define adaboostFile "HOGClassifier\\"
36 void ParseParams(
int argc,
char *argv[]);
40 void DetectSinglePictureHOG(
const char *in,
const char *out,
41 const char *adaboost,
const Options &opt);
43 void DetectSinglePictureBKG(
const char *in,
const char *bkg,
const char *out,
44 const char *adaboost,
const Options &opt);
46 void DetectVideoHOG(
const char *in,
const char *out,
47 const char *adaboost,
const Options &opt);
49 void DetectVideoBKG(
const char *in,
const char *bkg,
const char *out,
50 const char *adaboost,
const Options &opt);
52 void TrackVideoSingle(
const char *in,
const char *out);
54 void TrackVideoMulti(
const char *in,
const char *bkg,
const char *out,
55 const char *adaboost,
const Options &opt);
57 static void GetTarget(
int event,
int x,
int y,
int flags,
void *userParams);
59 IplImage* video_bkg_detect(
60 const TCHAR *pIn,
const TCHAR* pTemp,
int num_cluster,
int r,
int pic_num_all,
61 int H_thres,
int W_thres);
63 void create_meanshift_queue(
const TCHAR *pIn,
64 const TCHAR* pOut,
int r,
int pic_num_all);
67 TCHAR pIn[],
Tuple* &tuples,
int pic_num_all, CvRect roi,
68 int frameH,
int frameW);
Definition: PedestrainCounting.h:30