|
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) |
| void | nms (std::forward_list< ma_keypoint3f_t > &decodings, const float iou_thr, bool should_nms_cross_classes) |
| template<typename T , std::enable_if_t< std::is_base_of< ma_bbox_t, T >::value, bool > = true> | |
| float | compute_iou (const T &box1, const T &box2) |
| 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 | ||
| ) |
|
inline |
| 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 | ||
| ) |
| void ma::utils::nms | ( | std::forward_list< ma_keypoint3f_t > & | decodings, |
| const float | iou_thr, | ||
| bool | should_nms_cross_classes | ||
| ) |