// WARNING: this sample is under construction! Use it on your own risk. #if defined _MSC_VER && _MSC_VER >= 1400 #pragma warning(disable : 4100) #endif #include #include #include "opencv2/objdetect/objdetect.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/cudaobjdetect.hpp" #include "opencv2/cudaimgproc.hpp" #include "opencv2/cudawarping.hpp" #include "tick_meter.hpp" using namespace std; using namespace cv; using namespace cv::cuda; static void help() { cout << "Usage: ./cascadeclassifier_gpu \n\t--cascade \n\t(|--video