Commit f080bdec authored by ebroglio's avatar ebroglio Committed by Davis E. King

dets cleared twice in evaluate_detectors of scan_fhog_pyramid.h (#487)

already cleared at the beginning
parent 1795bdb4
...@@ -1306,7 +1306,6 @@ namespace dlib ...@@ -1306,7 +1306,6 @@ namespace dlib
// Do non-max suppression // Do non-max suppression
dets.clear();
if (detectors.size() > 1) if (detectors.size() > 1)
std::sort(dets_accum.rbegin(), dets_accum.rend()); std::sort(dets_accum.rbegin(), dets_accum.rend());
for (unsigned long i = 0; i < dets_accum.size(); ++i) for (unsigned long i = 0; i < dets_accum.size(); ++i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment