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
32ad0ffa
Commit
32ad0ffa
authored
Dec 10, 2014
by
Patrick Snape
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make shape predictor pickleable
Fix typo as well
parent
60318cb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
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