Updated code to work with new random_cropper interface.

This commit is contained in:
Davis King 2017-06-18 08:11:54 -04:00
parent 17b48b97bb
commit ba72c2f95c

View File

@ -30,9 +30,9 @@ public:
cropper = make_shared<random_cropper>();
cropper->set_chip_dims(150,150);
cropper->set_randomly_flip(true);
cropper->set_max_object_height(0.99999);
cropper->set_max_object_size(0.99999);
cropper->set_background_crops_fraction(0);
cropper->set_min_object_height(0.97);
cropper->set_min_object_size(0.97);
cropper->set_translate_amount(0.02);
cropper->set_max_rotation_degrees(3);
}