struct prediction_ctx_s prediction_ctx_t
class_label_t
Definition inference_postprocessing.h:20
@ CLASS_LABEL_ROTATION_RIGHT
Definition inference_postprocessing.h:27
@ CLASS_LABEL_IDLE
Definition inference_postprocessing.h:21
@ CLASS_LABEL_ROTATION_LEFT
Definition inference_postprocessing.h:28
@ CLASS_LABEL_SWIPE_RIGHT
Definition inference_postprocessing.h:23
@ CLASS_LABEL_SWIPE_LEFT
Definition inference_postprocessing.h:24
@ CLASS_LABEL_COUNT
Definition inference_postprocessing.h:29
@ CLASS_LABEL_DOUBLE_THUMB
Definition inference_postprocessing.h:26
@ CLASS_LABEL_UNKNOWN
Definition inference_postprocessing.h:22
@ CLASS_LABEL_DOUBLE_SHAKE
Definition inference_postprocessing.h:25
const char * inference_get_class_name(const class_label_t class_label)
Get class name by label.
prediction_ctx_t inference_postprocess(const uint16_t predicted_target, const float probability)
Postprocess the Neuton library RAW inference output.