Commit 56a27c918ab93b3ec270fc6f7e4be1667c1a9b1b
1 parent
37f46fbf
Remove ground truth from detections so evalDetection doesn't get confused
Showing
1 changed file
with
1 additions
and
0 deletions
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; | ... | ... |