Send IMU data from microcontroller to ANN Gesture Classifier over local network
This Project uses the CW01 and SI01 to collect a total of 1350 samples from the IMU in 1.5 seconds (split between the Magnetometor, Accelerometer, and Gyroscope)
This data is then sent via a POST request to a server which is run with predict.py
, which reads in the data and makes a prediction using classifier.model
,
which is a pre-trained neural network which can be downloaded here (131MB)
If you want to train the model to recognize different gestures, use getData to get the POST request and read the data to a csv, you can then use TrainGestures.ipynb
to train the data.
SendData/SendData.ino
getData.py
predict.py
classifier.model
TrainGestures.ipynb
classifier.model