mirror of https://github.com/davisking/dlib.git
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:
parent
7b591aba7a
commit
0ac4a54094
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue