void decode_init(const nrf_axon_nn_compiled_model_s *model)
Initialize decode procedure.
const char * model_head_name(enum model_head head_id)
Gives string name of model's head.
model_head
Model head ID.
Definition postprocessing.h:18
@ MODEL_HEAD_STRIDE_16
Definition postprocessing.h:20
@ MODEL_HEAD_STRIDE_32
Definition postprocessing.h:19
@ MODEL_HEAD_STRIDE_8
Definition postprocessing.h:21
size_t decode_output(const nrf_axon_nn_compiled_model_s *model, const int8_t *packed_data, struct detection_box *boxes, const size_t boxes_size)
Decode output from the model and perform NMS.