diff --git a/Sources/ConsoleApp/ConsoleApp.csproj b/Sources/ConsoleApp/ConsoleApp.csproj
index e0bb9e2..9d5a7f0 100644
--- a/Sources/ConsoleApp/ConsoleApp.csproj
+++ b/Sources/ConsoleApp/ConsoleApp.csproj
@@ -54,9 +54,9 @@
-
+
{2496dfb1-eb55-47a1-a780-211e079b289d}
- LibMyGesturesBank
+ MyGesturesBank
{0751c83e-7845-4e5f-a5d3-e11aba393aca}
diff --git a/Sources/KinectSolution.sln b/Sources/KinectSolution.sln
index 9911da0..84d68a1 100644
--- a/Sources/KinectSolution.sln
+++ b/Sources/KinectSolution.sln
@@ -7,10 +7,12 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfApp", "WpfApp\WpfApp.csp
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lib", "Lib\Lib.csproj", "{0751C83E-7845-4E5F-A5D3-E11ABA393ACA}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LibMyGesturesBank", "LibMyGesturesBank\LibMyGesturesBank.csproj", "{2496DFB1-EB55-47A1-A780-211E079B289D}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyGesturesBank", "LibMyGesturesBank\MyGesturesBank.csproj", "{2496DFB1-EB55-47A1-A780-211E079B289D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp", "ConsoleApp\ConsoleApp.csproj", "{27D9C879-52BB-4BD7-B08D-63A534AC6D7E}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "KinectUtils", "KinectUtils\KinectUtils.csproj", "{2D44487E-F514-4063-9494-2AF1E8C9E9C8}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -33,6 +35,10 @@ Global
{27D9C879-52BB-4BD7-B08D-63A534AC6D7E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{27D9C879-52BB-4BD7-B08D-63A534AC6D7E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{27D9C879-52BB-4BD7-B08D-63A534AC6D7E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {2D44487E-F514-4063-9494-2AF1E8C9E9C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {2D44487E-F514-4063-9494-2AF1E8C9E9C8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {2D44487E-F514-4063-9494-2AF1E8C9E9C8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {2D44487E-F514-4063-9494-2AF1E8C9E9C8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/Sources/KinectUtils/BaseGesture.cs b/Sources/KinectUtils/BaseGesture.cs
new file mode 100644
index 0000000..398b729
--- /dev/null
+++ b/Sources/KinectUtils/BaseGesture.cs
@@ -0,0 +1,25 @@
+using System;
+using Microsoft.Kinect;
+
+namespace LibMyGesturesBank
+{
+ public abstract class BaseGesture
+ {
+ // Événement déclenché lorsque le geste est reconnu
+ public event EventHandler GestureRecognized;
+
+ // Nom du geste - marqué comme virtual pour permettre la substitution
+ public virtual string GestureName { get; protected set; }
+
+ // Méthode abstraite pour tester le geste
+ public abstract void TestGesture(Body body);
+
+ // Méthode protégée pour déclencher l'événement GestureRecognized
+ protected virtual void OnGestureRecognized()
+ {
+ GestureRecognized?.Invoke(this, EventArgs.Empty);
+ }
+ }
+
+
+}
diff --git a/Sources/KinectUtils/KinectUtils.csproj b/Sources/KinectUtils/KinectUtils.csproj
new file mode 100644
index 0000000..edfe356
--- /dev/null
+++ b/Sources/KinectUtils/KinectUtils.csproj
@@ -0,0 +1,49 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {2D44487E-F514-4063-9494-2AF1E8C9E9C8}
+ Library
+ Properties
+ KinectUtils
+ KinectUtils
+ v4.7.2
+ 512
+ true
+
+
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Sources/KinectUtils/Properties/AssemblyInfo.cs b/Sources/KinectUtils/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..08c12d2
--- /dev/null
+++ b/Sources/KinectUtils/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// Les informations générales relatives à un assembly dépendent de
+// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
+// associées à un assembly.
+[assembly: AssemblyTitle("KinectUtils")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("KinectUtils")]
+[assembly: AssemblyCopyright("Copyright © 2024")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// L'affectation de la valeur false à ComVisible rend les types invisibles dans cet assembly
+// aux composants COM. Si vous devez accéder à un type dans cet assembly à partir de
+// COM, affectez la valeur true à l'attribut ComVisible sur ce type.
+[assembly: ComVisible(false)]
+
+// Le GUID suivant est pour l'ID de la typelib si ce projet est exposé à COM
+[assembly: Guid("2d44487e-f514-4063-9494-2af1e8c9e9c8")]
+
+// Les informations de version pour un assembly se composent des quatre valeurs suivantes :
+//
+// Version principale
+// Version secondaire
+// Numéro de build
+// Révision
+//
+// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
+// en utilisant '*', comme indiqué ci-dessous :
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/Sources/LibMyGesturesBank/BaseGesture.cs b/Sources/LibMyGesturesBank/BaseGesture.cs
index 0750ecd..3134dd3 100644
--- a/Sources/LibMyGesturesBank/BaseGesture.cs
+++ b/Sources/LibMyGesturesBank/BaseGesture.cs
@@ -5,7 +5,7 @@ using System.Text;
using System.Threading.Tasks;
using Microsoft.Kinect;
-namespace LibMyGesturesBank
+namespace MyGesturesBank
{
public abstract class BaseGesture
{
diff --git a/Sources/LibMyGesturesBank/LibMyGesturesBank.csproj b/Sources/LibMyGesturesBank/MyGesturesBank.csproj
similarity index 97%
rename from Sources/LibMyGesturesBank/LibMyGesturesBank.csproj
rename to Sources/LibMyGesturesBank/MyGesturesBank.csproj
index 805bf1d..a3c5d5b 100644
--- a/Sources/LibMyGesturesBank/LibMyGesturesBank.csproj
+++ b/Sources/LibMyGesturesBank/MyGesturesBank.csproj
@@ -8,7 +8,7 @@
Library
Properties
LibMyGesturesBank
- LibMyGesturesBank
+ MyGesturesBank
v4.7.2
512
true
diff --git a/Sources/LibMyGesturesBank/Posture.cs b/Sources/LibMyGesturesBank/Posture.cs
index de00509..8b06698 100644
--- a/Sources/LibMyGesturesBank/Posture.cs
+++ b/Sources/LibMyGesturesBank/Posture.cs
@@ -5,7 +5,7 @@ using System.Text;
using Microsoft.Kinect;
using System.Threading.Tasks;
-namespace LibMyGesturesBank
+namespace MyGesturesBank
{
public abstract class Posture : BaseGesture
diff --git a/Sources/LibMyGesturesBank/PostureHandUp.cs b/Sources/LibMyGesturesBank/PostureHandUp.cs
index 970f01e..fae339f 100644
--- a/Sources/LibMyGesturesBank/PostureHandUp.cs
+++ b/Sources/LibMyGesturesBank/PostureHandUp.cs
@@ -5,7 +5,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
-namespace LibMyGesturesBank
+namespace MyGesturesBank
{
public class PostureHandUp : Posture
{
diff --git a/Sources/LibMyGesturesBank/PostureHandsOnHead .cs b/Sources/LibMyGesturesBank/PostureHandsOnHead .cs
index 34ea5b1..c4937ce 100644
--- a/Sources/LibMyGesturesBank/PostureHandsOnHead .cs
+++ b/Sources/LibMyGesturesBank/PostureHandsOnHead .cs
@@ -5,7 +5,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
-namespace LibMyGesturesBank
+namespace MyGesturesBank
{
public class PostureHandsOnHead : Posture
{
diff --git a/Sources/LibMyGesturesBank/Properties/AssemblyInfo.cs b/Sources/LibMyGesturesBank/Properties/AssemblyInfo.cs
index 4138d3e..ab22671 100644
--- a/Sources/LibMyGesturesBank/Properties/AssemblyInfo.cs
+++ b/Sources/LibMyGesturesBank/Properties/AssemblyInfo.cs
@@ -5,11 +5,11 @@ using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
-[assembly: AssemblyTitle("LibMyGesturesBank")]
+[assembly: AssemblyTitle("MyGesturesBank")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("LibMyGesturesBank")]
+[assembly: AssemblyProduct("MyGesturesBank")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]