Cannot set video size(solution)

asked 2017-11-06 07:34:58 -0500

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.

edit retag flag offensive close merge delete

Comments

waiting...

Mr.Cypress gravatar imageMr.Cypress ( 2017-11-07 01:02:24 -0500 )edit