From 351996d9f0390ef44412fa678bc7a073a94e23e5 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Thu, 16 Mar 2017 18:49:36 +0000
Subject: [PATCH] Fixed memory leak in DLL, added load_image() & free_image(), added read_names_from_file()
---
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