I'm using the OpenCV python bindings to put together a quick script/prototype
, but for some odd reason,
camera.set(cv2.cv.CV_CAP_PROP_FRAME_HEIGHT, 640.0)
...does nothing at all. By this, I mean it returns True
, but the frame height is constant. No, returning a constant is not a fault, as camera.get(cv2.cv.CV_CAP_PROP_FRAME_HEIGHT)
will return 240.0
as the default value.
I don't have any clue on why is this failing. Any ideas?
For what it's worth, I'm running this code on windows 8.1
.