Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi everybody

The method to make it work is first open device, then set resolution and then read stream.

VideoCapture capKamera1; capKamera1.open(1); capKamera1.set(CV_CAP_PROP_FRAME_WIDTH, 1920.); capKamera1.set(CV_CAP_PROP_FRAME_HEIGHT, 1080.); capKamera1.read(Mat myFrame);