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

to 100 rectangles.  This has been removed.
This commit is contained in:
Davis King 2011-12-15 18:26:29 -05:00
parent 7b591aba7a
commit 0ac4a54094
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ namespace dlib
scanner.load(img);
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))
continue;