Building the dataset with the Edge Impulse data forwarder tool
Any ML algorithm needs a dataset, and for us, this means getting data samples from the accelerometer.
Recording accelerometer data is not as difficult as it may seem at first glance. This task can easily be carried out with Edge Impulse.
In this recipe, we will use the Edge Impulse data forwarder tool to take the accelerometer measurements when we make the following three movements with the breadboard:
Figure 9.14: Hand gestures to recognize – circle, cross, and pan
When performing the motions indicated by the arrows in the previous figure, ensure that the breadboard is vertical and the Raspberry Pi Pico is in front of you.
Getting ready
The three gestures that we’ve considered for this project are as follows:
- Circle: Moving the board clockwise in a circular motion.
- Cross: Moving the board from the top left to the bottom right and then from the...