Commit f5a68ded authored by Davis King's avatar Davis King

mmod_options would pick bad window sizes in some corner cases. This has been fixed.

parent 14ae224e
......@@ -439,8 +439,8 @@ namespace dlib
detector_height = target_size/ratio;
if (detector_height < min_target_size)
{
detector_width = min_target_size;
detector_height = min_target_size*ratio;
detector_width = min_target_size*ratio;
detector_height = min_target_size;
}
}
......
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