Example #1
0
 public void AddCalibration(CalibrationPoint point, GazePointEventArgs gaze)
 {
     if (!samples.Keys.Contains(point))
     {
         throw new ArgumentException("Calibration point given is not part of calibration set.");
     }
     samples[point].Add(gaze);
 }
Example #2
0
        public bool IsMoreCalibrationNeeded(CalibrationPoint point)
        {
            var sample = samples[point];

            return(sample.Count() <= 100);
            //|| Maths.Statistics.Stats.StandardDeviation(sample.Select(c=>c.X)) > TOLERANCE
            //|| Maths.Statistics.Stats.StandardDeviation(sample.Select(c=>c.Y)) > TOLERANCE;
        }