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
5a0c09c7
Commit
5a0c09c7
authored
Nov 10, 2017
by
Davis King
Browse files
Fixed compiler warning
parent
809f5683
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/image_transforms/random_cropper.h
dlib/image_transforms/random_cropper.h
+2
-2
No files found.
dlib/image_transforms/random_cropper.h
View file @
5a0c09c7
...
...
@@ -194,8 +194,8 @@ namespace dlib
{
// set to ignore if not totally in the crop or if too small.
if
(
!
get_rect
(
crop
).
contains
(
rect
.
rect
)
||
(
rect
.
rect
.
height
()
<
min_object_length_long_dim
&&
rect
.
rect
.
width
()
<
min_object_length_long_dim
)
||
(
rect
.
rect
.
height
()
<
min_object_length_short_dim
||
rect
.
rect
.
width
()
<
min_object_length_short_dim
))
(
(
long
)
rect
.
rect
.
height
()
<
min_object_length_long_dim
&&
(
long
)
rect
.
rect
.
width
()
<
min_object_length_long_dim
)
||
(
(
long
)
rect
.
rect
.
height
()
<
min_object_length_short_dim
||
(
long
)
rect
.
rect
.
width
()
<
min_object_length_short_dim
))
{
rect
.
ignore
=
true
;
}
...
...
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