From 89354d0a0ce6fbb22ff262658045cdb8796ff6fd Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Fri, 04 May 2018 20:52:05 +0000
Subject: [PATCH] Fixed memory leaks. And fixes for Web-camera and IP-camera.
---
src/box.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/box.c b/src/box.c
index e02685d..a2c676f 100644
--- a/src/box.c
+++ b/src/box.c
@@ -246,7 +246,7 @@
return 0;
}
-void do_nms_sort(box *boxes, float **probs, int total, int classes, float thresh)
+void do_nms_sort_v2(box *boxes, float **probs, int total, int classes, float thresh)
{
int i, j, k;
sortable_bbox *s = calloc(total, sizeof(sortable_bbox));
@@ -292,7 +292,7 @@
return 0;
}
-void do_nms_obj_v3(detection *dets, int total, int classes, float thresh)
+void do_nms_obj(detection *dets, int total, int classes, float thresh)
{
int i, j, k;
k = total - 1;
@@ -328,7 +328,7 @@
}
}
-void do_nms_sort_v3(detection *dets, int total, int classes, float thresh)
+void do_nms_sort(detection *dets, int total, int classes, float thresh)
{
int i, j, k;
k = total - 1;
--
Gitblit v1.10.0