Work in progress
Using the api myo-python (add link later) to train a recurrent neural network to predict hand gestures
The code paramDataset.py at myo_predictor/gesture_predictor/ is used to capture signals from the Myo armband and generate .csv files to make datasets for further analysis.
The code trainGesture.py at myo_predictor/gesture_predictor/ is a neural network implemenation designed to be trained with the .csv files generated with paramDataset.py and to create a model.
The code runModel.py, as the name says, is used to run the classification model in real time with the armband.
How to merge .csv into only one (windows):
- Browse to the folder with the CSV files.
- Hold down Shift, then right-click the folder and choose Copy as path.
- Open the Windows Command prompt.
- Type cd, press Space, right-click and select Paste, then press Enter.
- Type copy *.csv combined-csv-files.csv and Press Enter.