chapter7

35 views
Skip to first unread message

goodw...@daum.net

unread,
Feb 28, 2017, 2:17:31 AM2/28/17
to OpenCV with Python Blueprints
I am running chapter7.py
I had installed opencv.However, there errors occur.
There is a lot of diffculties on the computer.
Can you help me?
11.PNG
22.PNG
33.PNG

Michael Beyeler

unread,
Feb 28, 2017, 9:53:11 AM2/28/17
to OpenCV with Python Blueprints
Hi,

Thanks for posting the error messages.

Is it possible that you're using OpenCV 3 (possibly 3.1)?

In this case, the variable you are looking for might be called:
cv2.CAP_PROP_FRAME_WIDTH
instead of (OpenCV 2):
cv2.cv.CV_CAP_PROP_FRAME_WIDTH

If you make the changes in the source code, everything should work.

Best,
Michael


Reply all
Reply to author
Forward
Message has been deleted
0 new messages