예제 #1
0
 PointF IGazeFilter.Update(TimeSpan timestamp, PointF location)
 {
     if (_lastTimestamp == TimeSpan.Zero)
     {
         _lastTimestamp = timestamp;
         _pointFilter   = new LowpassFilter(location);
         _deltaFilter   = new LowpassFilter(default);
예제 #2
0
 public virtual GazeFilterArgs Update(GazeFilterArgs args)
 {
     if (_lastTimestamp == TimeSpan.Zero)
     {
         _lastTimestamp = args.Timestamp;
         _pointFilter   = new LowpassFilter(args.Location);
         _deltaFilter   = new LowpassFilter(default);