Commit 56a27c918ab93b3ec270fc6f7e4be1667c1a9b1b

Authored by Austin Blanton
1 parent 37f46fbf

Remove ground truth from detections so evalDetection doesn't get confused

openbr/plugins/slidingwindow.cpp
... ... @@ -110,6 +110,7 @@ protected:
110 110 if (conf > threshold) {
111 111 detect.file.set("Detection", QRectF(x*scale, y*scale, windowWidth*scale, windowHeight*scale));
112 112 detect.file.set("Confidence", conf);
  113 + detect.file.clearRects();
113 114 dst.append(detect);
114 115 if (takeFirst)
115 116 return;
... ...