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
e5df3d8e
"docs/source/vscode:/vscode.git/clone" did not exist on "17f1432ab2c74bed54df863be48e23b4113cbb37"
Commit
e5df3d8e
authored
Sep 01, 2017
by
Davis King
Browse files
merged
parents
972bf3c4
0bb3d9f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/dnn/input.h
dlib/dnn/input.h
+1
-1
No files found.
dlib/dnn/input.h
View file @
e5df3d8e
...
@@ -534,7 +534,7 @@ namespace dlib
...
@@ -534,7 +534,7 @@ namespace dlib
{
{
auto
&&
rects
=
any_cast
<
std
::
vector
<
rectangle
>>
(
data
.
annotation
());
auto
&&
rects
=
any_cast
<
std
::
vector
<
rectangle
>>
(
data
.
annotation
());
DLIB_CASSERT
(
rects
.
size
()
>
0
);
DLIB_CASSERT
(
rects
.
size
()
>
0
);
return
rects
[
0
].
contains
(
p
);
return
rects
[
0
].
contains
(
p
+
rects
[
0
].
tl_corner
()
);
}
}
drectangle
tensor_space_to_image_space
(
drectangle
tensor_space_to_image_space
(
...
...
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