Beispiel #1
0
        public Form1()
        {
            InitializeComponent();

            timer          = new Timer();
            timer.Interval = 1;
            timer.Tick    += Timer_Tick;

            poseRecognizer = new PoseRecognizer();

            try
            {
                if (poseRecognizer.initialize())
                {
                    initialized = true;
                    timer.Start();
                }
            }
            catch
            {
                MessageBox.Show("Couln't initialize pose recognizer!");
            }

            updateList();
        }