Commit 0ac4a540 authored by Davis King's avatar Davis King

The object_detector had code in it which limited the number of outputs

to 100 rectangles.  This has been removed.
parent 7b591aba
...@@ -209,7 +209,7 @@ namespace dlib ...@@ -209,7 +209,7 @@ namespace dlib
scanner.load(img); scanner.load(img);
scanner.detect(w, dets, thresh); scanner.detect(w, dets, thresh);
for (unsigned long i = 0; i < dets.size() && final_dets.size() < 100; ++i) for (unsigned long i = 0; i < dets.size(); ++i)
{ {
if (overlaps_any_box(final_dets, dets[i].second)) if (overlaps_any_box(final_dets, dets[i].second))
continue; continue;
......
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