/* * starter_video.cpp * * Created on: Nov 23, 2010 * Author: Ethan Rublee * * Modified on: April 17, 2013 * Author: Kevin Hughes * * A starter sample for using OpenCV VideoCapture with capture devices, video files or image sequences * easy as CV_PI right? */ #include #include #include #include #include using namespace cv; using namespace std; //hide the local functions in an anon namespace namespace { void help(char** av) { cout << "The program captures frames from a video file, image sequence (01.jpg, 02.jpg ... 10.jpg) or camera connected to your computer." << endl << "Usage:\n" << av[0] << "