Ask Your Question
0

CAP_PROP_FRAME_WIDTH not member of cv

asked 2016-02-12 02:53:08 -0600

chaiein gravatar image

how to resove the error of
error: ‘CAP_PROP_FRAME_WIDTH’ is not a member of ‘cv’ mCap.set(cv::CAP_PROP_FRAME_WIDTH, 640);

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
2

answered 2016-02-12 03:02:34 -0600

pklab gravatar image

in ver 3.0 CAP_PROP_FRAME_WIDTH is member of cv:: namespace. May be you are using an outdated version of OpenCV ? did you try with CV_CAP_PROP_FRAME_WIDTH ?

edit flag offensive delete link more

Comments

solved this error by installing 3.1.0 version of opencv.

chaiein gravatar imagechaiein ( 2016-02-14 22:59:06 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-02-12 02:53:08 -0600

Seen: 4,226 times

Last updated: Feb 12 '16