Commit 3c212b67 authored by Davis King's avatar Davis King

Changed default background cropping rate from 0.1 to 0.5.

parent a215c494
......@@ -20,7 +20,7 @@ namespace dlib
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 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;
dlib::rand rnd;
......
......@@ -37,7 +37,7 @@ namespace dlib
- #get_max_rotation_degrees() == 30
- #get_min_object_height() == 0.25
- #get_max_object_height() == 0.7
- #get_background_crops_fraction() == 0.1
- #get_background_crops_fraction() == 0.5
!*/
void set_seed (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment