![]() |
nRF Connect SDK API 3.3.99
|
| 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.
| [in] | window_shift | Number of windows the input window is shifted before prediction. |
| [in] | frame_shift | Number of frames the input window is shifted before prediction. |
| 0 | If the operation was successful. Otherwise, a (negative) error code is returned. |