/* * video_homography.cpp * * Created on: Oct 18, 2010 * Author: erublee */ #include #include "opencv2/opencv_modules.hpp" #ifdef HAVE_OPENCV_CALIB3D #include "opencv2/calib3d.hpp" #include "opencv2/videoio.hpp" #include "opencv2/highgui.hpp" #include "opencv2/imgproc.hpp" #include "opencv2/features2d.hpp" #include "opencv2/xfeatures2d.hpp" #include #include using namespace std; using namespace cv; using namespace cv::xfeatures2d; static void help(char **av) { cout << "\nThis program demonstrated the use of features2d with the Fast corner detector and brief descriptors\n" << "to track planar objects by computing their homography from the key (training) image to the query (test) image\n\n" << endl; cout << "usage: " << av[0] << "