using Microsoft.Kinect; using KinectUtils; namespace MyGesturesBank { 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"; } }