#ifdef __GNUC__ # pragma GCC diagnostic ignored "-Wmissing-declarations" # if defined __clang__ || defined __APPLE__ # pragma GCC diagnostic ignored "-Wmissing-prototypes" # pragma GCC diagnostic ignored "-Wextra" # endif #endif #ifndef __OPENCV_TEST_PRECOMP_HPP__ #define __OPENCV_TEST_PRECOMP_HPP__ #include #include "cvconfig.h" #include "opencv2/opencv_modules.hpp" #include "opencv2/ts/ts.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/nonfree/nonfree.hpp" #if defined(HAVE_OPENCV_GPU) && defined(HAVE_CUDA) #include "opencv2/ts/gpu_test.hpp" #include "opencv2/nonfree/gpu.hpp" #endif #endif