public GazeModifierFilter(IGazeModifierSettings settings, ICameraHelper camera, IEnumerable <IGazeModifier> modifiers = null) { var repo = new PercentileRepository(); _settings = settings; _camera = camera ?? new CameraHelper(); _accuracyModifier = new AccuracyModifier(repo, _settings); _precisionModifier = new PrecisionModifier(repo, _settings); _modifiers = modifiers ?? new List <IGazeModifier>() { _accuracyModifier, _precisionModifier, new TrackabilityModifier(repo, _settings) }; }
public GazeModifierFilter() { _accuracyModifier = new AccuracyModifier(_settings); _precisionModifier = new PrecisionModifier(_settings); }