diff options
Diffstat (limited to 'gaunt01/src/testApp.h')
| -rw-r--r-- | gaunt01/src/testApp.h | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/gaunt01/src/testApp.h b/gaunt01/src/testApp.h index 4fa679e..7c95e6e 100644 --- a/gaunt01/src/testApp.h +++ b/gaunt01/src/testApp.h @@ -23,10 +23,9 @@ #define CALIBRATE 1 #define TITLES 0 -#define CREDIT 1 -#define EXPLAIN 2 -#define PLAYING 3 -#define GOTCHA 4 +#define EXPLAIN 1 +#define PLAYING 2 +#define GOTCHA 3 #define CAM_WIDTH_FG 640 #define CAM_HEIGHT_FG 480 @@ -78,27 +77,27 @@ class testApp : public ofBaseApp{ ofVideoPlayer vidPlayer; ofxCvColorImage colorImg; - + int diffchannel; - + cv::Mat accumulator,outmat,hsvback,hsvfront,backchan,frontchan,output; // background accumulation - + ofxCvColorImage currentFrame; ofxCvColorImage background; - + ofxCvColorImage mogoutput; - + ofxCvGrayscaleImage grayFrame; ofxCvGrayscaleImage grayBg; ofxCvGrayscaleImage grayDiff; - + float learningRate; bool bFirstFrame; - + //cv::BackgroundSubtractorMOG mog; - + float mogf; - + bool removeShadows; int shadowThreshold; /*
|
