mirror of https://github.com/davisking/dlib.git
Fixed a bug in how the mmod_options automatically determines detection window
sizes. It would pick a bad size in some cases.
This commit is contained in:
parent
3d4bd975e6
commit
64942d92c4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue