From 92b25a72006a77073ee99dc69557ce0cde01cc3c Mon Sep 17 00:00:00 2001
From: iovodov <b@ovdv.ru>
Date: Thu, 03 May 2018 09:43:48 +0000
Subject: [PATCH] FIX #736: Detector does not draw rects for images with small resolutions
---
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