Sample C++ to predict

Hi, can you please help on the sample C++ code to predict this kind of data as I have multiple timelines as shown below. I have no problem with single timeline, but unsure how to do with multiple timestamps.

I am following this tutorial: On your desktop computer - Edge Impulse Documentation but unable to figure it out with different timelines.

Hello @fd18,

Indeed, this guide shows how to run the inference on a static buffer (that contains exactly the number of sample expected by the run_impulse function).

You can modify the code to accept a longer “static buffer” and then split it in different sub-buffers that matches the number of samples needed to run your inference.

You can then run the inference on each of the buffers.