nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ ei_wrapper_start_prediction()

int ei_wrapper_start_prediction ( size_t  window_shift,
size_t  frame_shift 
)

#include <include/ei_wrapper.h>

Start a prediction using the Edge Impulse library.

If there is not enough data in the input buffer, the prediction start is delayed until the missing data is added.

Parameters
[in]window_shiftNumber of windows the input window is shifted before prediction.
[in]frame_shiftNumber of frames the input window is shifted before prediction.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.