Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
59483b28
Commit
59483b28
authored
Apr 12, 2018
by
Davis King
Browse files
Options
Browse Files
Download
Plain Diff
merged
parents
9b040cd7
509d6235
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
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