GECKO 1.0
Human-computer interface based on hand gesture recognition
backgroundSubstractor.h
00001 //------------------------------------------------------------------------------
00002 //-- BackgroundSubstractor
00003 //------------------------------------------------------------------------------
00004 //--
00005 //-- Extracts the background using the Mixture Of Gaussians method
00006 //--
00007 //------------------------------------------------------------------------------
00008 //--
00009 //-- This file belongs to the "Gecko - Gesture Recognition" project
00010 //-- (https://github.com/David-Estevez/gecko)
00011 //--
00012 //------------------------------------------------------------------------------
00013 //-- Authors: David Estevez Fernandez
00014 //--          Irene Sanz Nieto
00015 //--
00016 //-- Released under the GPL license (more info on LICENSE.txt file)
00017 //------------------------------------------------------------------------------
00018 
00028 #ifndef BACKGROUNDSUBSTRACTOR_H
00029 #define BACKGROUNDSUBSTRACTOR_H
00030 
00031 #include <opencv2/opencv.hpp>
00032 #include <opencv2/imgproc/imgproc.hpp>
00033 
00034 class backgroundSubstractor: public cv::BackgroundSubtractorMOG2
00035 {
00036 public:
00037     void setbackgroundRatio(float a){backgroundRatio = a;}
00038 };
00039 
00040 #endif // BACKGROUNDSUBSTRACTOR_H
 All Classes Functions Variables