22#include <zephyr/kernel.h>
int ei_wrapper_init(ei_wrapper_result_ready_cb cb)
const char * ei_wrapper_get_classifier_label(size_t idx)
size_t ei_wrapper_get_window_size(void)
int ei_wrapper_add_data(const float *data, size_t data_size)
size_t ei_wrapper_get_frame_size(void)
int ei_wrapper_clear_data(bool *cancelled)
size_t ei_wrapper_get_classifier_label_count(void)
bool ei_wrapper_classifier_has_anomaly(void)
int ei_wrapper_get_timing(int *dsp_time, int *classification_time, int *anomaly_time)
int ei_wrapper_start_prediction(size_t window_shift, size_t frame_shift)
int ei_wrapper_get_anomaly(float *anomaly)
int ei_wrapper_get_next_classification_result(const char **label, float *value, size_t *idx)
size_t ei_wrapper_get_classifier_frequency(void)
void(* ei_wrapper_result_ready_cb)(int err)
Callback executed by the wrapper when the result is ready.
Definition ei_wrapper.h:34