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
d96d3a50
Commit
d96d3a50
authored
Jun 27, 2018
by
Davis King
Browse files
cleanup
parent
ec342e39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
tools/python/src/face_recognition.cpp
tools/python/src/face_recognition.cpp
+1
-2
No files found.
tools/python/src/face_recognition.cpp
View file @
d96d3a50
...
@@ -114,8 +114,7 @@ public:
...
@@ -114,8 +114,7 @@ public:
{
{
for
(
int
j
=
0
;
j
<
batch_faces
[
i
].
size
();
++
j
)
for
(
int
j
=
0
;
j
<
batch_faces
[
i
].
size
();
++
j
)
{
{
auto
&
r
=
matrix_cast
<
double
>
(
mean
(
mat
(
net
(
auto
&
r
=
mean
(
mat
(
net
(
jitter_image
(
*
fimg
++
,
num_jitters
),
16
)));
jitter_image
(
*
fimg
++
,
num_jitters
),
16
))));
face_descriptors
[
i
].
push_back
(
matrix_cast
<
double
>
(
r
));
face_descriptors
[
i
].
push_back
(
matrix_cast
<
double
>
(
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