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

Read by image instead of read by videocapture #50

Open
hai19991331 opened this issue Aug 23, 2019 · 2 comments
Open

Read by image instead of read by videocapture #50

hai19991331 opened this issue Aug 23, 2019 · 2 comments

Comments

@hai19991331
Copy link

No description provided.

@hai19991331
Copy link
Author

hai19991331 commented Aug 23, 2019

i changed my code in demo.py file but it won't work
cap = cv2.VideoCapture("/content/drive/My Drive/E2E-MLT/images/00139.jpg")

cap.set(cv2.CAP_PROP_AUTOFOCUS, 1)
ret, im = cap.read()

Plsss help me with this

@josedossantos10
Copy link

You need change to
im = cv2.imread("/content/drive/My Drive/E2E-MLT/images/00139.jpg")

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

No branches or pull requests

2 participants