using Microsoft.Kinect; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LibMyGesturesBank { public class PostureHandUp : Posture { protected override bool TestPosture(Body body) { // Exemple de condition : la main droite est plus haute que l'épaule droite return body.Joints[JointType.HandRight].Position.Y > body.Joints[JointType.ShoulderRight].Position.Y; } public override string GestureName => "Hand Up"; } }