File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments