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
20afefd7
Commit
20afefd7
authored
Jan 10, 2014
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clarified example
parent
c7346758
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
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