diff --git a/openbr/plugins/imgproc/slidingwindow.cpp b/openbr/plugins/imgproc/slidingwindow.cpp index 3963ecd..feb5b68 100644 --- a/openbr/plugins/imgproc/slidingwindow.cpp +++ b/openbr/plugins/imgproc/slidingwindow.cpp @@ -156,11 +156,7 @@ class SlidingWindowTransform : public MetaTransform if (result == 1) { rects.append(Rect(cvRound(x/widthScale), cvRound(y/heightScale), detectionSize.width, detectionSize.height)); confidences.append(confidence); - } - - // TODO: Add non ROC mode - - if (result == 0) + } else x += step; } }