-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
55 changed files
with
1,047,105 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
\.idea/ | ||
|
||
wearable-motion-sensors/ | ||
|
||
data/ | ||
|
||
ipynb/\.ipynb_checkpoints/ | ||
|
||
ipynb/__pycache__/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,54 @@ | ||
# General-Movements | ||
# Taiko-Master | ||
|
||
This is a project teaching a newbie how to perform better in the video game [**Taiko no Tatsujin**](https://en.wikipedia.org/wiki/Taiko_no_Tatsujin). | ||
|
||
<br/> | ||
|
||
## Flowchart | ||
In general, follow the paper [Motion Primitive-Based Human Activity Recognition Using a Bag-of-Features Approach](https://dl.acm.org/citation.cfm?id=2110433). | ||
|
||
![](docs/flowchart.png) | ||
|
||
Belows are repos for collecting raw data from wearable devices. | ||
|
||
1. [beagle_bone_blue_data_acq](https://github.com/taoyilee/beagle_bone_blue_data_acq) | ||
|
||
- [Introduction of beaglebone-blue](docs/144934_data.pdf): The official manual of BBB. | ||
|
||
- [MPU9250A registration](docs/RM-MPU-9250A-00-v1.6.pdf): The register map and description of MPU-9250 | ||
|
||
2. [USB-Video-Class-Capture](https://github.com/taoyilee/USB-Video-Class-Capture) | ||
|
||
![](docs/video_capture_sample.png) | ||
|
||
<br/> | ||
|
||
## Experiment | ||
Belows two animations are some extraced features with the specific entire play, and we plot vertical color lines to represent real true hit event. | ||
|
||
![](docs/0420-axyz.gif) | ||
![](docs/0420-gxyz.gif) | ||
|
||
We can interpret the local event as the following figure. | ||
![](docs/time_series_sense.png) | ||
|
||
More observation can be checked at the following notebooks. | ||
|
||
1. [EDA](util/taiko_feature_eda.ipynb): show the box plot of engineering features. | ||
2. [BoF](util/taiko_BoF.ipynb): show the traning error about the bag-of-features model. | ||
3. [Confusion Matrix](util/kernel_test.ipynb): use model to predict other performance. | ||
|
||
In addtion, [Taiko-Time-Series-Analytics](https://github.com/taoyilee/Taiko-Time-Series-Analytics) is another related repo analyzing this data. | ||
|
||
<br/> | ||
|
||
## Result | ||
Use the last performance to train, we get | ||
|
||
![](docs/training_cnfm.png) | ||
|
||
However, predict a test performance, we get | ||
|
||
![](docs/test_cnfm.png) | ||
|
||
There is a long way to go! |
99,003 changes: 99,003 additions & 0 deletions
99,003
backup/bb_left_forearm_csv/data_2018_03_27_11_37_57.csv
Large diffs are not rendered by default.
Oops, something went wrong.
46,605 changes: 46,605 additions & 0 deletions
46,605
backup/bb_left_forearm_csv/data_2018_03_27_13_25_43.csv
Large diffs are not rendered by default.
Oops, something went wrong.
105,554 changes: 105,554 additions & 0 deletions
105,554
backup/bb_left_forearm_csv/data_2018_03_27_14_48_28.csv
Large diffs are not rendered by default.
Oops, something went wrong.
56,239 changes: 56,239 additions & 0 deletions
56,239
backup/bb_left_forearm_csv/data_2018_03_27_16_12_02.csv
Large diffs are not rendered by default.
Oops, something went wrong.
64,523 changes: 64,523 additions & 0 deletions
64,523
backup/bb_left_forearm_csv/data_2018_03_28_14_52_45.csv
Large diffs are not rendered by default.
Oops, something went wrong.
58,388 changes: 58,388 additions & 0 deletions
58,388
backup/bb_left_forearm_csv/data_2018_03_28_15_52_48.csv
Large diffs are not rendered by default.
Oops, something went wrong.
62,688 changes: 62,688 additions & 0 deletions
62,688
backup/bb_left_forearm_csv/data_2018_03_28_16_59_47.csv
Large diffs are not rendered by default.
Oops, something went wrong.
3,206 changes: 3,206 additions & 0 deletions
3,206
backup/bb_left_forearm_csv/data_2018_03_31_15_29_36.csv
Large diffs are not rendered by default.
Oops, something went wrong.
122,122 changes: 122,122 additions & 0 deletions
122,122
backup/bb_right_forearm_csv/data_2018_03_27_11_40_03.csv
Large diffs are not rendered by default.
Oops, something went wrong.
54,171 changes: 54,171 additions & 0 deletions
54,171
backup/bb_right_forearm_csv/data_2018_03_27_13_20_28.csv
Large diffs are not rendered by default.
Oops, something went wrong.
114,887 changes: 114,887 additions & 0 deletions
114,887
backup/bb_right_forearm_csv/data_2018_03_27_14_50_24.csv
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.