Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
poppy-kine:poppy-kine-2016-s4 [2016/06/27 13:55]
s4poppy2016 [How to use our code]
poppy-kine:poppy-kine-2016-s4 [2018/04/05 16:02]
mai
Line 1: Line 1:
-{{tag>​Poppy Project}}+{{tag>​Poppy Project ​poppy-kine}}
 ====== Poppy-Kine : S4 project 2015-2016 ====== ====== Poppy-Kine : S4 project 2015-2016 ======
  
  
 ===== Introduction ===== ===== Introduction =====
-This project is organised under the "​Projet d'​ingénieur"​ of Telecom BRETAGNE for the scholar year 2015-2016. Its main objective is to evaluate the performance of the patients in their reeducation exercises and to give the feedbacks by a humanoid robot based on a text-to-speech system. The robot will be used is **Poppy** (see [[http://​poppy-project.org/​|Poppy project]] and [[poppy|Poppy robot wiki page]]), the movements are captured by the **camera Kinect** (v2).+This project is organised under the "​Projet d'​ingénieur"​ of Telecom BRETAGNE for the scholar year 2015-2016. Its main objective is to evaluate the performance of the patients in their reeducation exercises and to give the feedbacks by a humanoid robot based on a text-to-speech system. The robot will be used is **Poppy** (see [[http://​poppy-project.org/​|Poppy project]] and [[:poppy|Poppy robot wiki page]]), the movements are captured by the **camera Kinect** (v2).
 \\ For the recorded and reproduction parts, we have used the work of projet S5 (see [[http://​gaudi.enstb.org/​doku.php?​id=poppy-kine-2015-s5 | poppy-kine-2015-s5]]). \\ For the recorded and reproduction parts, we have used the work of projet S5 (see [[http://​gaudi.enstb.org/​doku.php?​id=poppy-kine-2015-s5 | poppy-kine-2015-s5]]).
 \\ We implemented the filtering in order to have the proper movements without noise of the patients. This will help us to build the **GMM model** to compare the movements of the patients with the reference ones of the kinesitherapist. After having the resultat of evaluation, we used the **MaryTTS** (see [[http://​gaudi.enstb.org/​doku.php?​id=marytts | marytts]]) to give the oral feedbacks. \\ We implemented the filtering in order to have the proper movements without noise of the patients. This will help us to build the **GMM model** to compare the movements of the patients with the reference ones of the kinesitherapist. After having the resultat of evaluation, we used the **MaryTTS** (see [[http://​gaudi.enstb.org/​doku.php?​id=marytts | marytts]]) to give the oral feedbacks.
Line 43: Line 43:
 ===== How to use our code ===== ===== How to use our code =====
  
-All the source code is located in the folder **C:/​Utilisateurs/​ihsev/​Documents/​projets4/redmine**, you can also get the code source via **https://​redmine.telecom-bretagne.eu/​projects/​poppy-kine-2016-s4**+All the source code is located in the folder **C:/​Utilisateurs/​ihsev/​Documents/​2016projetS4PoppyKine/redmine**, you can also get the code source via **https://​redmine.telecom-bretagne.eu/​projects/​poppy-kine-2016-s4**
  
 You can run our program by executing main.py(you can use PythonWin or PyCharm), and there are two inputs, for exemple, "​16mai_slow_0.json bruit_0.json"​. The first is data of movement, and the second is a sample of noise.\\ You can run our program by executing main.py(you can use PythonWin or PyCharm), and there are two inputs, for exemple, "​16mai_slow_0.json bruit_0.json"​. The first is data of movement, and the second is a sample of noise.\\
  
-In the main.py (line 38), you can select the joints that you want, or comment the joints no needed. ​To see the results of the data filtered, you can change the parameter "​debug"​ in the function "​filter"​ as "​filter()"​(line69). You can also refer to Curve.py and calcules.py to see the method used for detecting the start and period. The number of cycles detected is showed by the output"​number of cycles cutted",​ and the files cutted are saved in the foleder **C:/​Utilisateurs/​ihsev/​Documents/​projets4/​redmine/​filtered** ​+In the main.py (line 38), you can select the joints that you want, or comment the joints no needed.\\
  
-Here is a synthesis of the files:\\ +To see the results of the data filtered, you can change the parameter "​debug"​ in the function "​filter"​ as "​filter()"​(line69).\\ 
-main.py : execute the program + 
-Curve.py : contains the functions used for one curve(a joint, a dimension), functions : filter, detect the start and period +You can also refer to Curve.py and calcules.py to see the method used for detecting the start and period.\\ 
-Data.py : contains the functions used to determine the global start and period for the movement, and cut the cycles into different files. + 
-calcules.py : contains the calculation of the transform FFT and the detection of start. +The number of cycles detected is showed by the output"​number of cycles cutted",​ and the files cutted are saved in the foleder **C:/​Utilisateurs/​ihsev/​Documents/​2016projetS4PoppyKine/​redmine/​filtered**  
-filtrage.py : constitute a filter low-pass, and determine the cutoff frequency.+ 
 +**Here is a synthesis of the files:**\\ 
 +main.py : execute the program.\\ 
 +Curve.py : contains the functions used for one curve(a joint, a dimension), functions : filter, detect the start and period.\\ 
 +Data.py : contains the functions used to determine the global start and period for the movement, and cut the cycles into different files.\\ 
 +calcules.py : contains the calculation of the transform FFT and the detection of start.\\ 
 +filtrage.py : constitute a filter low-pass, and determine the cutoff frequency.\\
  • poppy-kine/poppy-kine-2016-s4.txt
  • Last modified: 2019/04/25 14:08
  • (external edit)