SSCMA-Micro CPP SDK  v2.0.0
SSCMA-Micro is a cross-platform machine learning inference framework designed for embedded devices.
ma_nms.h File Reference
#include <algorithm>
#include <cmath>
#include <forward_list>
#include <iterator>
#include <type_traits>
#include "../ma_types.h"
Include dependency graph for ma_nms.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ma
 
 ma::utils
 

Functions

template<typename T , std::enable_if_t< std::is_base_of< ma_bbox_t, T >::value, bool > = true>
float ma::utils::compute_iou (const T &box1, const T &box2)
 
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_bbox_ext_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)