Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
3c212b67
Commit
3c212b67
authored
Sep 28, 2016
by
Davis King
Browse files
Changed default background cropping rate from 0.1 to 0.5.
parent
a215c494
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dlib/image_transforms/random_cropper.h
dlib/image_transforms/random_cropper.h
+1
-1
dlib/image_transforms/random_cropper_abstract.h
dlib/image_transforms/random_cropper_abstract.h
+1
-1
No files found.
dlib/image_transforms/random_cropper.h
View file @
3c212b67
...
...
@@ -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
;
...
...
dlib/image_transforms/random_cropper_abstract.h
View file @
3c212b67
...
...
@@ -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
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment