GECKO 1.0
Human-computer interface based on hand gesture recognition
AppLauncher::AppLauncher ( std::string  config_file,
int  positive_matches,
int  negative_matches 
)

AppLauncher constructor.

Parameters:
config_filePath of the configuration file containing the program info
positive_matchesMinimum number of positive matches needed to trigger a command
negative_matchesMaximum number of negative matches allowed between two positive matches
{
    configFileParser( config_file);

    for (int i = 0; i < _values_to_track.size(); i++ )
    {
        StateMachine newMachine( _values_to_track[i], positive_matches, negative_matches );
        _state_machines.push_back( newMachine);
    }

    _found = std::vector<bool>( _state_machines.size() );
}

Here is the call graph for this function:

 All Classes Functions Variables