Commit 2668d1ba authored by Davis King's avatar Davis King

updated due to name change

...@@ -46,11 +46,11 @@ ...@@ -46,11 +46,11 @@
and observing that the boxes are present. and observing that the boxes are present.
Returning to the present example program, we can now issue the command 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 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 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 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 This command will display some_image.png in a window and any detected objects will
be indicated by a red box. be indicated by a red box.
...@@ -126,7 +126,7 @@ int main(int argc, char** argv) ...@@ -126,7 +126,7 @@ int main(int argc, char** argv)
if (parser.option("h")) 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); parser.print_options(cout);
cout << endl; cout << endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment