GestureLearnerRecognize Method |
Namespace: RavingBots.MagicGestures.AI
public int Recognize( GestureData gesture, out float output )
This method preprocesses the input with GesturePreprocessor, and then feeds it to the MultilayerPerceptron. The network has 1 output for each configured spell, which denotes how close the input gesture is to that spell.
After calling Process(Single) the output which has the highest value and is above RecognitionThreshold corresponds to the recognized spell.