28 float* detectionBoxes,
29 float* detectionClasses,
30 float* detectionScores,
31 float* numDetections);
34 unsigned int* indices,
36 unsigned int numElement);
41 const std::vector<float>& boxCorners,
42 const std::vector<float>& scores,
43 float nmsScoreThreshold,
44 unsigned int maxDetection,
45 float nmsIouThreshold);
Copyright (c) 2021 ARM Limited and Contributors.
void TopKSort(unsigned int k, unsigned int *indices, const float *values, unsigned int numElement)
float IntersectionOverUnion(const float *boxI, const float *boxJ)
std::vector< unsigned int > NonMaxSuppression(unsigned int numBoxes, const std::vector< float > &boxCorners, const std::vector< float > &scores, float nmsScoreThreshold, unsigned int maxDetection, float nmsIouThreshold)