constunsignedlongtarget_size,// We want the length of the longest dimension of the detector window to be this.
constunsignedlongtarget_size,// We want the length of the longest dimension of the detector window to be this.
...
@@ -452,8 +460,37 @@ namespace dlib
...
@@ -452,8 +460,37 @@ namespace dlib
DLIB_CASSERT(detector_windows.size()!=0,"You can't call mmod_options's constructor with a set of boxes that is empty (or only contains ignored boxes).");
DLIB_CASSERT(detector_windows.size()!=0,"You can't call mmod_options's constructor with a set of boxes that is empty (or only contains ignored boxes).");
DLIB_CASSERT(detector_windows.size()!=0,"You can't call mmod_options's constructor with a set of boxes that is empty (or only contains ignored boxes).");