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
32ad0ffa
Commit
32ad0ffa
authored
Dec 10, 2014
by
Patrick Snape
Browse files
Make shape predictor pickleable
Fix typo as well
parent
60318cb3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
tools/python/src/shape_predictor.cpp
tools/python/src/shape_predictor.cpp
+3
-2
No files found.
tools/python/src/shape_predictor.cpp
View file @
32ad0ffa
...
...
@@ -225,11 +225,12 @@ train_shape_predictor() routine.")
- box is the bounding box to begin the shape prediction inside.
\n
\
ensures
\n
\
- This function runs the shape predictor on the input image and returns
\n
\
a single full object detection."
);
a single full object detection."
)
.
def_pickle
(
serialize_pickle
<
type
>
());
}
{
def
(
"train_shape_predictor"
,
train_shape_predictor_on_images_py
,
(
arg
(
"images"
),
arg
(
"object_detections"
),
arg
(
"
detector
_filename"
),
arg
(
"options"
)),
(
arg
(
"images"
),
arg
(
"object_detections"
),
arg
(
"
predictor_output
_filename"
),
arg
(
"options"
)),
"requires
\n
\
- options.lambda > 0
\n
\
- options.nu > 0
\n
\
...
...
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