PedestrainCounting
VideoDetector.h
1 
5 #ifndef VIDEO_DETECTOR_HEADER
6 #define VIDEO_DETECTOR_HEADER
7 
8 #include "ImageDetector.h"
9 
10 // Switch this to turn on/off debug out put.
11 // #define VDPRINTF(...) printf(__VA_ARGS__)
12 #define VDPRINTF(...)
13 
15 public:
16  // Constructor.
17  VideoDetector(IntegralImage *i, ImageDetector *id, const Options &opt);
18 
19  // Detects.
20  void Detect(cv::VideoCapture &in, cv::VideoWriter &out,
21  const cv::Mat &bkg = defaultBackground);
22 
23 protected:
24  ImageDetector *imgDetector;
25  IntegralImage *intImage;
26 };
27 
28 #endif
Definition: VideoDetector.h:14
Definition: ImageDetector.h:30
Definition: IntegralImage.h:11
Definition: Options.h:14