From 56a27c918ab93b3ec270fc6f7e4be1667c1a9b1b Mon Sep 17 00:00:00 2001 From: Austin Blanton Date: Fri, 15 Nov 2013 11:14:35 -0500 Subject: [PATCH] Remove ground truth from detections so evalDetection doesn't get confused --- openbr/plugins/slidingwindow.cpp | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/openbr/plugins/slidingwindow.cpp b/openbr/plugins/slidingwindow.cpp index 0bb5103..81468c8 100644 --- a/openbr/plugins/slidingwindow.cpp +++ b/openbr/plugins/slidingwindow.cpp @@ -110,6 +110,7 @@ protected: if (conf > threshold) { detect.file.set("Detection", QRectF(x*scale, y*scale, windowWidth*scale, windowHeight*scale)); detect.file.set("Confidence", conf); + detect.file.clearRects(); dst.append(detect); if (takeFirst) return; -- libgit2 0.21.4