Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

use cv2.CAP_PROP_FRAME_HEIGHT

(the old CV_ prefixed constants were all removed)

(help(cv2) (and scroll down to the bottom) will show you the constants)

use cv2.CAP_PROP_FRAME_HEIGHT

(the old CV_ prefixed constants were all removed)removed 2.4 -> 3.x)

(help(cv2) (and scroll down to the bottom) will show you the constants)