diff --git a/samples/c/find_obj.cpp b/samples/c/find_obj.cpp index cd88b8a4b6..693e16b364 100644 --- a/samples/c/find_obj.cpp +++ b/samples/c/find_obj.cpp @@ -12,6 +12,7 @@ #include #include +#include using namespace std; void help() diff --git a/samples/c/find_obj_ferns.cpp b/samples/c/find_obj_ferns.cpp index e944acb0fa..efb6670525 100644 --- a/samples/c/find_obj_ferns.cpp +++ b/samples/c/find_obj_ferns.cpp @@ -7,6 +7,7 @@ #include #include #include +#include using namespace cv; void help() diff --git a/samples/c/mser_sample.cpp b/samples/c/mser_sample.cpp index 94519d63d4..9aa0e33461 100644 --- a/samples/c/mser_sample.cpp +++ b/samples/c/mser_sample.cpp @@ -6,6 +6,7 @@ #include "opencv2/features2d/features2d.hpp" #include "opencv2/imgproc/imgproc_c.h" +#include void help() { diff --git a/samples/c/one_way_sample.cpp b/samples/c/one_way_sample.cpp index 476be225b9..8907cbfde4 100644 --- a/samples/c/one_way_sample.cpp +++ b/samples/c/one_way_sample.cpp @@ -13,6 +13,8 @@ #include "opencv2/imgproc/imgproc_c.h" #include +#include + void help() { printf("\nThis program demonstrates the one way interest point descriptor found in features2d.hpp\n" diff --git a/samples/cpp/calibration_artificial.cpp b/samples/cpp/calibration_artificial.cpp index 2f683ffb70..9952ff18ab 100644 --- a/samples/cpp/calibration_artificial.cpp +++ b/samples/cpp/calibration_artificial.cpp @@ -1,14 +1,16 @@ -#include -#include -#include -#include - #include "opencv2/calib3d/calib3d.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" +#include +#include +#include +#include +#include + using namespace cv; using namespace std; + void help() { printf( "\nThis code generates an artificial camera and artificial chessboard images,\n"