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
2668d1ba
Commit
2668d1ba
authored
Mar 22, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated due to name change
parent
f477c842
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
train_object_detector.cpp
examples/train_object_detector.cpp
+3
-3
No files found.
examples/train_object_detector.cpp
View file @
2668d1ba
...
...
@@ -46,11 +46,11 @@
and observing that the boxes are present.
Returning to the present example program, we can now issue the command
./
object_detector_ex_2
-tv mydataset.xml
./
train_object_detector
-tv mydataset.xml
which will train an object detection model based on our labeled data. The model
will be saved to the file object_detector.svm. Once this has finished we can use
the object detector to locate objects in new images with a command like
./
object_detector_ex_2
some_image.png
./
train_object_detector
some_image.png
This command will display some_image.png in a window and any detected objects will
be indicated by a red box.
...
...
@@ -126,7 +126,7 @@ int main(int argc, char** argv)
if
(
parser
.
option
(
"h"
))
{
cout
<<
"Usage:
object_detector_ex_2
[options] <image dataset file|image file>
\n
"
;
cout
<<
"Usage:
train_object_detector
[options] <image dataset file|image file>
\n
"
;
parser
.
print_options
(
cout
);
cout
<<
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