Beispiel #1
0
 public static void InitAllModels()
 {
     allModels.Add("OPEN_HAND",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/OPEN_HAND.bin"));
     allModels.Add("POINT_FRONT",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/POINT_FRONT.bin"));
     allModels.Add("POINT_RIGHT",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/POINT_RIGHT.bin"));
     allModels.Add("POINT_LEFT",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/POINT_LEFT.bin"));
     allModels.Add("POINT_BACK",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/POINT_BACK.bin"));
     allModels.Add("OPEN_FRONT",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/OPEN_FRONT.bin"));
     allModels.Add("OPEN_RIGHT",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/OPEN_RIGHT.bin"));
     allModels.Add("OPEN_LEFT",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/OPEN_LEFT.bin"));
     allModels.Add("HAND_HALT",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/HALT_HAND.bin"));
     allModels.Add("HAND_ROTATING",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/HAND_ROTATING.bin"));
     allModels.Add("INDEX_HUSH",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/INDEX_HUSH.bin"));
     allModels.Add("INDEX_ROTATING",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/INDEX_ROTATING.bin"));
     allModels.Add("MOUTH_MIMIC",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/MOUTH_MIMIC.bin"));
     allModels.Add("INDEX",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/NUM1.bin"));
     allModels.Add("INDEX_MIDDLE",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/NUM2.bin"));
     allModels.Add("INDEX_MIDDLE_RINGER",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/NUM3.bin"));
     allModels.Add("THE_RING",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/THE_RING.bin"));
     allModels.Add("THUMBS_DOWN",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/THUMBS_DOWN.bin"));
     allModels.Add("THUMBS_UP",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/THUMBS_UP.bin"));
     allModels.Add("WAVE",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/WAVE.bin"));
     allModels.Add("WAVE_NO_THANKS",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/WAVE_NO_THANKS.bin"));
     allModels.Add("BOTTLE_MIMIC",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/DRINK_PT.bin"));
     allModels.Add("HOLDING_GLASS",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/DRINK_NL.bin"));
     allModels.Add("GRAB",
                   HiddenMarkovModel <MultivariateNormalDistribution> .Load("GestureModels/GRAB.bin"));
 }
Beispiel #2
0
 public static HiddenMarkovModel <MultivariateNormalDistribution> LoadHMM(string path)
 {
     return(HiddenMarkovModel <MultivariateNormalDistribution> .Load(path));
 }