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
a3909d5d
Commit
a3909d5d
authored
Dec 19, 2017
by
Davis King
Browse files
merged
parents
07c4df4e
fa72ac69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
dlib/image_transforms/random_cropper.h
dlib/image_transforms/random_cropper.h
+0
-1
No files found.
dlib/image_transforms/random_cropper.h
View file @
a3909d5d
...
...
@@ -274,7 +274,6 @@ namespace dlib
const
double
rand_scale_perturb
=
1.0
/
rnd
.
get_double_in_range
(
min_scale
,
1
);
crop_rect
=
centered_drect
(
drect
,
drect
.
width
()
*
rand_scale_perturb
,
drect
.
height
()
*
rand_scale_perturb
);
DLIB_CASSERT
(
crop_rect
.
width
()
==
crop_rect
.
height
());
}
else
...
...
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