Skip to content

Commit 1a51998

Browse files
committed
Make docs more clear
1 parent 51c7a35 commit 1a51998

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/fhog_object_detector_ex.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ int main(int argc, char** argv)
9191
load_image_dataset(images_train, face_boxes_train, faces_directory+"/training.xml");
9292
load_image_dataset(images_test, face_boxes_test, faces_directory+"/testing.xml");
9393

94-
// Now we do a little bit of pre-processing. This is optional but for
95-
// this training data it improves the results. The first thing we do is
94+
// Now we do a little bit of pre-processing. The first thing we do is
9695
// increase the size of the images by a factor of two. We do this
9796
// because it will allow us to detect smaller faces than otherwise would
9897
// be practical (since the faces are all now twice as big). Note that,
@@ -104,7 +103,7 @@ int main(int argc, char** argv)
104103
// Since human faces are generally left-right symmetric we can increase
105104
// our training dataset by adding mirrored versions of each image back
106105
// into images_train. So this next step doubles the size of our
107-
// training dataset. Again, this is obviously optional but is useful in
106+
// training dataset. This is obviously optional but is useful in
108107
// many object detection tasks.
109108
add_image_left_right_flips(images_train, face_boxes_train);
110109
cout << "num training images: " << images_train.size() << endl;

0 commit comments

Comments
 (0)