public bool authenticateUser(string userName, GestureTrace trace, out TrajectoryModel.ReasonForFail failReason)
        {
            var targetGesture = knownGestures[userName];
            var similarity    = targetGesture.validateGestureTrace(trace.LongestStroke, out failReason);

            //ToDo: evtl. Schwellwerte hier prüfen?
            return(similarity > 0);
        }
Beispiel #2
0
        public LinkedList <Observation[]> createPossibleSymbolTraces(GestureTrace trace)
        {
            var stroke     = trace.LongestStroke;
            var startPoint = stroke.TrajectoryPoints[0];

            var candidateAreas = maps.Select(m => m.Areas[0]);

            //does stroke start in a candidate area?
            var activeMaps = maps.Where(map => map.Areas[0].PointInArea(startPoint.X, startPoint.Y));


            return(null);
        }