|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
31 float compute_iou (
float ax1,
float ay1,
float ax2,
float ay2,
32 float bx1,
float by1,
float bx2,
float by2);
45 const std::vector<float> &preds_conf,
46 const std::vector<float> &preds_x1,
47 const std::vector<float> &preds_y1,
48 const std::vector<float> &preds_x2,
49 const std::vector<float> &preds_y2,
50 const std::vector<GTBox> >_boxes,
51 std::vector<float> &out_best_iou,
52 uint32_t &fn_count_out);
62 float compute_ap (
const std::vector<std::pair<float,float>> &preds_scored,
63 uint32_t total_gt,
float iou_thresh);
66 float compute_ap50 (
const std::vector<std::pair<float,float>> &preds_scored,
70 float compute_ap50_95 (
const std::vector<std::pair<float,float>> &preds_scored,
float compute_ap50(const std::vector< std::pair< float, float >> &preds_scored, uint32_t total_gt)
AP@0.5 shorthand.
float compute_ap(const std::vector< std::pair< float, float >> &preds_scored, uint32_t total_gt, float iou_thresh)
compute_ap: 101-point COCO-style interpolated AP at a single IoU threshold.
void match_preds_to_gt(const std::vector< std::string > &preds_label, const std::vector< float > &preds_conf, const std::vector< float > &preds_x1, const std::vector< float > &preds_y1, const std::vector< float > &preds_x2, const std::vector< float > &preds_y2, const std::vector< GTBox > >_boxes, std::vector< float > &out_best_iou, uint32_t &fn_count_out)
match_preds_to_gt: Full greedy IoU matching with explicit bbox coordinate arrays.
float compute_iou(float ax1, float ay1, float ax2, float ay2, float bx1, float by1, float bx2, float by2)
compute_iou: Standard intersection-over-union for axis-aligned boxes.
float compute_ap50_95(const std::vector< std::pair< float, float >> &preds_scored, uint32_t total_gt)
AP@0.5:0.95 (mean over 10 thresholds, COCO standard)