SSCMA-Micro CPP SDK  v2.0.0
SSCMA-Micro is a cross-platform machine learning inference framework designed for embedded devices.
ma_nms.h
Go to the documentation of this file.
1 #ifndef _MA_NMS_H_
2 #define _MA_NMS_H_
3 
4 #include <algorithm>
5 #include <forward_list>
6 #include <iterator>
7 #include <vector>
8 
9 #include "../ma_types.h"
10 
11 namespace ma::utils {
12 
13 // skip use of template since it is not allowed
14 
15 void nms(std::forward_list<ma_bbox_t>& bboxes, float threshold_iou, float threshold_score, bool soft_nms, bool multi_target);
16 
17 void nms(std::forward_list<ma_bbox_ext_t>& bboxes,
18  float threshold_iou,
19  float threshold_score,
20  bool soft_nms,
21  bool multi_target);
22 
23 } // namespace ma::utils
24 
25 #endif // _MA_NMS_H_
Definition: ma_anchors.cpp:3
void nms(std::forward_list< ma_bbox_t > &bboxes, float threshold_iou, float threshold_score, bool soft_nms, bool multi_target)
Definition: ma_nms.cpp:62