Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cap.set(cv2.cv.CV_CAP_PROP_FRAME_WIDTH, 1000) AttributeError: 'module' object has no attribute 'cv' #7

Open
PR-Iyyer opened this issue Aug 22, 2019 · 2 comments · May be fixed by #8
Open

Comments

@PR-Iyyer
Copy link

cap.set(cv2.cv.CV_CAP_PROP_FRAME_WIDTH, 1000)

AttributeError: 'module' object has no attribute 'cv'

Can someone pls help

@qq1065163616
Copy link

me too,who can help.

@idenc
Copy link

idenc commented Sep 4, 2019

Try changing to

cap.set(cv2.CAP_PROP_FRAME_WIDTH, 1000)
cap.set(cv2.CAP_PROP_FRAME_HEIGHT, 600)

ebeyabraham added a commit to ebeyabraham/Hand_Detection that referenced this issue Oct 8, 2019
@ebeyabraham ebeyabraham linked a pull request Oct 8, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants