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
20afefd7
Commit
20afefd7
authored
Jan 09, 2014
by
Davis King
Browse files
clarified example
parent
c7346758
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
examples/fhog_object_detector_ex.cpp
examples/fhog_object_detector_ex.cpp
+1
-2
No files found.
examples/fhog_object_detector_ex.cpp
View file @
20afefd7
...
@@ -147,8 +147,7 @@ int main(int argc, char** argv)
...
@@ -147,8 +147,7 @@ int main(int argc, char** argv)
// Now that we have a face detector we can test it. The first statement tests it
// Now that we have a face detector we can test it. The first statement tests it
// on the training data. It will print the precision, recall, and then average precision.
// on the training data. It will print the precision, recall, and then average precision.
cout
<<
"training results: "
<<
test_object_detection_function
(
detector
,
images_train
,
face_boxes_train
)
<<
endl
;
cout
<<
"training results: "
<<
test_object_detection_function
(
detector
,
images_train
,
face_boxes_train
)
<<
endl
;
// Happily, we see that the object detector works perfectly, even on the testing
// Happily, we see that the object detector works perfectly on the testing images.
// images.
cout
<<
"testing results: "
<<
test_object_detection_function
(
detector
,
images_test
,
face_boxes_test
)
<<
endl
;
cout
<<
"testing results: "
<<
test_object_detection_function
(
detector
,
images_test
,
face_boxes_test
)
<<
endl
;
...
...
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