Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| poppy-kine-2016-s4 [2016/06/27 13:04] – [How to use our code] s4poppy2016 | poppy-kine:poppy-kine-2016-s4 [2018/04/05 16:02] (current) – mai | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{tag> | + | {{tag> |
| ====== Poppy-Kine : S4 project 2015-2016 ====== | ====== Poppy-Kine : S4 project 2015-2016 ====== | ||
| ===== Introduction ===== | ===== Introduction ===== | ||
| - | This project is organised under the " | + | This project is organised under the " |
| \\ For the recorded and reproduction parts, we have used the work of projet S5 (see [[http:// | \\ For the recorded and reproduction parts, we have used the work of projet S5 (see [[http:// | ||
| \\ 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:// | \\ 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:// | ||
| Line 43: | Line 43: | ||
| ===== How to use our code ===== | ===== How to use our code ===== | ||
| - | All the source code is located in the folder **C:/ | + | All the source code is located in the folder **C:/ |
| + | |||
| + | You can run our program by executing main.py(you can use PythonWin or PyCharm), and there are two inputs, for exemple, " | ||
| + | |||
| + | 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 " | ||
| + | |||
| + | 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" | ||
| + | |||
| + | **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.\\ | ||