Hi,
I generated C++ library for CM4F generated to recognize 3 gestures - idle, updown, wave (followed the example from the youtube video). I integrated that successfully on my custom board.
When I think about gesture recognition it should process data not on a frame level but rather continuously. run_classifier_continuous() seems to provide what I was looking for.
I modified my application to initialize the classifier and then call run_classifier_continuous() but I got EI_IMPULSE_DSP_ERROR(-5).
Are there examples of how to use run_classifier_continuous()? Or is the continuous mode not suitable for gesture recognition?
Hi, @ivan2an !
Yes, run_classifier_continuous is hard coded to audio data - I dug out one of my own old examples for light sensor data, that is more similar to accelerometer.
It is for FreeRTOS based device,so you’ll need to adapt to what you have. But from what I remember, the crux of how to make it work was around numpy roll function.