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
59483b28
"references/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "a63f98add5d67f85a5eac6ede8ca850d3b2bbfd3"
Commit
59483b28
authored
Apr 12, 2018
by
Davis King
Browse files
merged
parents
9b040cd7
509d6235
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tools/python/src/numpy_returns.cpp
tools/python/src/numpy_returns.cpp
+2
-0
No files found.
tools/python/src/numpy_returns.cpp
View file @
59483b28
...
@@ -47,6 +47,7 @@ py::list get_jitter_images(py::object img, size_t num_jitters = 1, bool disturb_
...
@@ -47,6 +47,7 @@ py::list get_jitter_images(py::object img, size_t num_jitters = 1, bool disturb_
py
::
handle
handle
=
arr
;
py
::
handle
handle
=
arr
;
// Append image to jittered image list
// Append image to jittered image list
jitter_list
.
append
(
handle
);
jitter_list
.
append
(
handle
);
Py_DECREF
(
arr
);
}
}
return
jitter_list
;
return
jitter_list
;
...
@@ -91,6 +92,7 @@ py::list get_face_chips (
...
@@ -91,6 +92,7 @@ py::list get_face_chips (
// Append image to chips list
// Append image to chips list
chips_list
.
append
(
handle
);
chips_list
.
append
(
handle
);
Py_DECREF
(
arr
);
}
}
return
chips_list
;
return
chips_list
;
}
}
...
...
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