You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
880 B
35 lines
880 B
using KinectUtils;
|
|
using Lib;
|
|
using Microsoft.Kinect;
|
|
using MyGesturesBank;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Controls;
|
|
|
|
namespace ConsoleApp
|
|
{
|
|
internal class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
// allumer la kinect
|
|
KinectManager kinectManager = new KinectManager();
|
|
kinectManager.StartSensor();
|
|
Console.WriteLine("Kinect démarre");
|
|
|
|
AllGesturesFactory allGesturesFactory = new AllGesturesFactory();
|
|
GestureManager.AddGestures(allGesturesFactory);
|
|
GestureManager.StartAcquiringFrames(kinectManager);
|
|
while (true)
|
|
{
|
|
//Thread.Sleep(50);
|
|
}
|
|
}
|
|
}
|
|
}
|