Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can't just put 219 code lines and expect people to read it for you ! I just debugged you program I the error is clear you capture device is wrong capture = cvCreateCameraCapture(200); // you have to put for example 0 as an ID and your key variable isn't initialized I put int key =0 and the program will work