Ask Your Question

Revision history [back]

Cannot set video size(solution)

I want to use camera getting frame to process. Here comes a bug: I cannot control the frame size using cv2.CAP_PROP_FRAME_WIDTH and cv2.CAP_PROP_FRAME_HEIGHT on my surface pro4:

cam.set(cv2.CAP_PROP_FRAME_WIDTH, 640)

cam.set(cv2.CAP_PROP_FRAME_WIDTH, 480)

The output frame size is (1920*1080), same to my camera maximum solution!

Once I cancel the procedure, I get this:

IADVS: ia_me_corner_deinit

I hadn't got this since yesterday.