Commit 64942d92 authored by Davis King's avatar Davis King

Fixed a bug in how the mmod_options automatically determines detection window

sizes.  It would pick a bad size in some cases.
parent 3d4bd975
......@@ -430,8 +430,8 @@ namespace dlib
detector_width = ratio*target_size;
if (detector_width < min_target_size)
{
detector_height = min_target_size;
detector_width = min_target_size/ratio;
detector_height = min_target_size/ratio;
detector_width = min_target_size;
}
}
else
......
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