This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cv.h> | |
#include <highgui.h> | |
using namespace std; | |
char key; | |
int main() | |
{ | |
cvNamedWindow("Camera_Output", 1); //Create window | |
CvCapture* capture = cvCaptureFromCAM(CV_CAP_ANY); //Capture using any camera connected to your system |