Beispiel #1
0
 private void buttonAddPose_Click(object sender, EventArgs e)
 {
     if (textBox1.Text != "" && initialized)
     {
         poseRecognizer.addNewPose(textBox1.Text);
         MessageBox.Show("Pose '" + textBox1.Text + "' added!");
         updateList();
     }
 }
Beispiel #2
0
 private void buttonAddPose_Click(object sender, EventArgs e)
 {
     if (textBox1.Text != "" && initialized)
     {
         // this is an example of creating a new pose!
         // warning: if you create a new pose, you need to delete the "svm.dat" file to
         // re-train the classification algorithm!
         poseRecognizer.addNewPose(textBox1.Text);
         MessageBox.Show("Pose '" + textBox1.Text + "' added! Delete the 'svm.dat' file to retrain the algorithm next time this app is launched!");
         updateList();
     }
 }