Commit Graph

3 Commits

Author SHA1 Message Date
Davis King
e338bf02e0 Changed the random_cropper's set_min_object_size() routine to take min box
dimensions in the same format as the mmod_options object (i.e. two lengths
measured in pixels).  This should make defining random_cropping strategies that
are consistent with MMOD settings much more straightforward since you can just
take the mmod_options settings and give them to the random_cropper and it will
do the right thing.
2017-10-24 22:10:02 -04:00
Davis King
17b48b97bb Changed the random_cropper's interface so that instead of talking in terms of
min and max object height, it's now min and max object size.  This way, if you
have objects that are short and wide (i.e. objects where the relevant dimension
is width rather than height) you will get sensible behavior out of the random
cropper.
2017-06-17 12:34:26 -04:00
Davis King
d5dc371ff8 Added random_cropper and DNN MMOD example programs. 2016-09-05 15:39:31 -04:00