SSCMA-Micro CPP SDK
v2.0.0
SSCMA-Micro is a cross-platform machine learning inference framework designed for embedded devices.
|
Functions | |
std::vector< ma_anchor_stride_t > | generateAnchorStrides (size_t input_size, std::vector< size_t > strides) |
std::vector< std::vector< ma_pt2f_t > > | generateAnchorMatrix (const std::vector< ma_anchor_stride_t > &anchor_strides, float shift_right, float shift_down) |
std::string | base64_decode (const std::string &in) |
ma_err_t | base64_encode (const unsigned char *in, int in_len, char *out, int *out_len) |
void | nms (std::forward_list< ma_bbox_t > &bboxes, float threshold_iou, float threshold_score, bool soft_nms, bool multi_target) |
void | nms (std::forward_list< ma_bbox_ext_t > &bboxes, float threshold_iou, float threshold_score, bool soft_nms, bool multi_target) |
std::string ma::utils::base64_decode | ( | const std::string & | in | ) |
ma_err_t ma::utils::base64_encode | ( | const unsigned char * | in, |
int | in_len, | ||
char * | out, | ||
int * | out_len | ||
) |
std::vector< std::vector< ma_pt2f_t > > ma::utils::generateAnchorMatrix | ( | const std::vector< ma_anchor_stride_t > & | anchor_strides, |
float | shift_right, | ||
float | shift_down | ||
) |
std::vector< ma_anchor_stride_t > ma::utils::generateAnchorStrides | ( | size_t | input_size, |
std::vector< size_t > | strides | ||
) |
void ma::utils::nms | ( | std::forward_list< ma_bbox_ext_t > & | bboxes, |
float | threshold_iou, | ||
float | threshold_score, | ||
bool | soft_nms, | ||
bool | multi_target | ||
) |
void ma::utils::nms | ( | std::forward_list< ma_bbox_t > & | bboxes, |
float | threshold_iou, | ||
float | threshold_score, | ||
bool | soft_nms, | ||
bool | multi_target | ||
) |