SSCMA-Micro CPP SDK  v2.0.0
SSCMA-Micro is a cross-platform machine learning inference framework designed for embedded devices.
ma::utils Namespace Reference

Functions

std::vector< ma_anchor_stride_tgenerateAnchorStrides (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)
 

Function Documentation

◆ base64_decode()

std::string ma::utils::base64_decode ( const std::string &  in)
Here is the caller graph for this function:

◆ base64_encode()

ma_err_t ma::utils::base64_encode ( const unsigned char *  in,
int  in_len,
char *  out,
int *  out_len 
)
Here is the caller graph for this function:

◆ generateAnchorMatrix()

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 
)
Here is the caller graph for this function:

◆ generateAnchorStrides()

std::vector< ma_anchor_stride_t > ma::utils::generateAnchorStrides ( size_t  input_size,
std::vector< size_t >  strides 
)
Here is the caller graph for this function:

◆ nms() [1/2]

void ma::utils::nms ( std::forward_list< ma_bbox_ext_t > &  bboxes,
float  threshold_iou,
float  threshold_score,
bool  soft_nms,
bool  multi_target 
)

◆ nms() [2/2]

void ma::utils::nms ( std::forward_list< ma_bbox_t > &  bboxes,
float  threshold_iou,
float  threshold_score,
bool  soft_nms,
bool  multi_target 
)
Here is the caller graph for this function: