nndeploy C++ API  0.2.0
nndeploy C++ API
Namespaces | Functions
util.h File Reference
#include "nndeploy/base/any.h"
#include "nndeploy/base/common.h"
#include "nndeploy/base/glic_stl_include.h"
#include "nndeploy/base/log.h"
#include "nndeploy/base/macro.h"
#include "nndeploy/base/object.h"
#include "nndeploy/base/param.h"
#include "nndeploy/base/status.h"
#include "nndeploy/base/string.h"
#include "nndeploy/base/type.h"
#include "nndeploy/detect/result.h"
#include "nndeploy/device/buffer.h"
#include "nndeploy/device/device.h"
#include "nndeploy/device/memory_pool.h"
#include "nndeploy/device/tensor.h"
Include dependency graph for util.h:

Go to the source code of this file.

Namespaces

 nndeploy
 
 nndeploy::detect
 

Functions

float nndeploy::detect::computeIOU (const float *boxes, int i, int j)
 
float nndeploy::detect::computeIOU (const std::array< float, 4 > &box0, const std::array< float, 4 > &box1)
 
float nndeploy::detect::computeIOU (float xmin0, float ymin0, float xmax0, float ymax0, float xmin1, float ymin1, float xmax1, float ymax1)
 
base::Status nndeploy::detect::computeNMS (const DetectResult &src, std::vector< int > &keep_idxs, const float iou_threshold)
 
base::Status nndeploy::detect::fastNMS (const DetectResult &src, std::vector< int > &keep_idxs, const float iou_threshold)
 
std::array< float, 4 > nndeploy::detect::getOriginBox (const std::array< float, 4 > &box, const float *scale_factor, float x_offset, float y_offset, int ori_width, int ori_height)
 Get the Origin Box object. More...
 
std::array< float, 4 > nndeploy::detect::getOriginBox (float xmin, float ymin, float xmax, float ymax, const float *scale_factor, float x_offset, float y_offset, int ori_width, int ori_height)
 Get the Origin Box object. More...