Videoverarbeitung eines Beerpongspiels. Entstehung im Rahmen einer Praktikumsaufgabe im Fach "Interaktion".
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bpRecognizer.h 429B

12345678910111213141516171819
  1. #pragma once
  2. #include "ofxOpenCv.h"
  3. class bpRecognizer
  4. {
  5. public:
  6. void update(ofxCvGrayscaleImage image, int video_width, int video_height);
  7. void setThreshhold(int threshhold);
  8. void setBackground(ofxCvGrayscaleImage image);
  9. ofxCvGrayscaleImage currentImage;
  10. ofxCvGrayscaleImage background;
  11. ofxCvGrayscaleImage subtracted;
  12. ofxCvGrayscaleImage binarized;
  13. ofxCvContourFinder contourFinder;
  14. int threshhold;
  15. };