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
f165b203
Commit
f165b203
authored
Sep 04, 2016
by
Davis King
Browse files
Added missing assert
parent
1842d866
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
dlib/dnn/input.h
dlib/dnn/input.h
+1
-0
No files found.
dlib/dnn/input.h
View file @
f165b203
...
...
@@ -538,6 +538,7 @@ namespace dlib
drectangle
r
)
const
{
DLIB_CASSERT
(
0
<
scale
&&
scale
<=
1
,
"scale: "
<<
scale
);
auto
&&
rects
=
any_cast
<
std
::
vector
<
rectangle
>>
(
data
.
annotation
());
return
image_to_tiled_pyramid
<
pyramid_type
>
(
rects
,
scale
,
r
);
}
...
...
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