#pragma once #include "ofxOpenCv.h" class bpRecognizer { public: void update(ofxCvGrayscaleImage image, int video_width, int video_height); void setThreshhold(int threshhold); void setBackground(ofxCvGrayscaleImage image); ofxCvGrayscaleImage currentImage; ofxCvGrayscaleImage background; ofxCvGrayscaleImage subtracted; ofxCvGrayscaleImage binarized; ofxCvContourFinder contourFinder; int threshhold; };