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
ef06f0e8
"tests/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "9abe041351fc0c10d5cffd3ce90a5d6c90229045"
Commit
ef06f0e8
authored
Dec 27, 2014
by
Davis King
Browse files
Fixed grammar
parent
ad6c87b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python_examples/train_shape_predictor.py
python_examples/train_shape_predictor.py
+1
-1
No files found.
python_examples/train_shape_predictor.py
View file @
ef06f0e8
...
@@ -84,7 +84,7 @@ testing_xml_path = os.path.join(faces_folder, "testing_with_face_landmarks.xml")
...
@@ -84,7 +84,7 @@ testing_xml_path = os.path.join(faces_folder, "testing_with_face_landmarks.xml")
print
(
"Testing accuracy: {}"
.
format
(
print
(
"Testing accuracy: {}"
.
format
(
dlib
.
test_shape_predictor
(
testing_xml_path
,
"predictor.dat"
)))
dlib
.
test_shape_predictor
(
testing_xml_path
,
"predictor.dat"
)))
# Now let's it as you would in a normal application. First we will load it
# Now let's
use
it as you would in a normal application. First we will load it
# from disk. We also need to load a face detector to provide the initial
# from disk. We also need to load a face detector to provide the initial
# estimate of the facial location.
# estimate of the facial location.
predictor
=
dlib
.
shape_predictor
(
"predictor.dat"
)
predictor
=
dlib
.
shape_predictor
(
"predictor.dat"
)
...
...
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