From 1a51998ff026d1737043d97e7e0d29bd914aed0f Mon Sep 17 00:00:00 2001 From: Davis King Date: Sun, 23 Jun 2024 09:38:35 -0400 Subject: [PATCH] Make docs more clear --- examples/fhog_object_detector_ex.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/examples/fhog_object_detector_ex.cpp b/examples/fhog_object_detector_ex.cpp index 152f57d09a..77247d176b 100644 --- a/examples/fhog_object_detector_ex.cpp +++ b/examples/fhog_object_detector_ex.cpp @@ -91,8 +91,7 @@ int main(int argc, char** argv) load_image_dataset(images_train, face_boxes_train, faces_directory+"/training.xml"); load_image_dataset(images_test, face_boxes_test, faces_directory+"/testing.xml"); - // Now we do a little bit of pre-processing. This is optional but for - // this training data it improves the results. The first thing we do is + // Now we do a little bit of pre-processing. The first thing we do is // increase the size of the images by a factor of two. We do this // because it will allow us to detect smaller faces than otherwise would // be practical (since the faces are all now twice as big). Note that, @@ -104,7 +103,7 @@ int main(int argc, char** argv) // Since human faces are generally left-right symmetric we can increase // our training dataset by adding mirrored versions of each image back // into images_train. So this next step doubles the size of our - // training dataset. Again, this is obviously optional but is useful in + // training dataset. This is obviously optional but is useful in // many object detection tasks. add_image_left_right_flips(images_train, face_boxes_train); cout << "num training images: " << images_train.size() << endl;