Changed default background cropping rate from 0.1 to 0.5.

This commit is contained in:
Davis King 2016-09-28 21:13:43 -04:00
parent a215c4943e
commit 3c212b67be
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ namespace dlib
double max_rotation_degrees = 30; double max_rotation_degrees = 30;
double min_object_height = 0.25; // cropped object will be at least this fraction of the height of the image. double min_object_height = 0.25; // cropped object will be at least this fraction of the height of the image.
double max_object_height = 0.7; // cropped object will be at most this fraction of the height of the image. double max_object_height = 0.7; // cropped object will be at most this fraction of the height of the image.
double background_crops_fraction = 0.1; double background_crops_fraction = 0.5;
std::mutex rnd_mutex; std::mutex rnd_mutex;
dlib::rand rnd; dlib::rand rnd;

View File

@ -37,7 +37,7 @@ namespace dlib
- #get_max_rotation_degrees() == 30 - #get_max_rotation_degrees() == 30
- #get_min_object_height() == 0.25 - #get_min_object_height() == 0.25
- #get_max_object_height() == 0.7 - #get_max_object_height() == 0.7
- #get_background_crops_fraction() == 0.1 - #get_background_crops_fraction() == 0.5
!*/ !*/
void set_seed ( void set_seed (