Update(dev): pas de TwoHandsDragon ici

pull/22/head
Louis DUFOUR 1 year ago
parent 5df113740e
commit e808ac0b2a

@ -51,7 +51,6 @@
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="RightHandUp.cs" />
<Compile Include="SwipeRightHand.cs" />
<Compile Include="TwoHandsDragon.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\KinectUtils\KinectUtils.csproj">

@ -1,24 +0,0 @@
using KinectUtils;
using Microsoft.Kinect;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyGesturesBank
{
public class TwoHandsDragon : Posture
{
protected override bool TestPosture(Body body)
{
var handRight = body.Joints[JointType.HandRight].Position;
var handLeft = body.Joints[JointType.HandLeft].Position;
var head = body.Joints[JointType.Head].Position;
return handRight.Y > head.Y && handLeft.Y > head.Y;
}
public override string GestureName => "Two Hands Dragon";
}
}
Loading…
Cancel
Save