Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Use

cap.grab();
cap.retrieve(&frame, 0);

instead of

cap.read(frame);

Best