From a1af57d8d60b50e8188f36b7f74752c8cc124177 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 15 Feb 2018 12:43:25 +0000
Subject: [PATCH] Added C implementation of calculation mAP (mean average precision) using Darknet
---
src/box.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/box.h b/src/box.h
index f7ef36f..a5f8cee 100644
--- a/src/box.h
+++ b/src/box.h
@@ -9,10 +9,12 @@
float dx, dy, dw, dh;
} dbox;
+box float_to_box(float *f);
float box_iou(box a, box b);
float box_rmse(box a, box b);
dbox diou(box a, box b);
void do_nms(box *boxes, float **probs, int total, int classes, float thresh);
+void do_nms_sort(box *boxes, float **probs, int total, int classes, float thresh);
box decode_box(box b, box anchor);
box encode_box(box b, box anchor);
--
Gitblit v1.10.0