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

Unable to open the camera. #27

Open
123abcdea opened this issue Jul 2, 2023 · 2 comments
Open

Unable to open the camera. #27

123abcdea opened this issue Jul 2, 2023 · 2 comments

Comments

@123abcdea
Copy link

When I try to use the camera for recognition, I cannot see the image. How can I resolve this issue?

@dzj0727
Copy link

dzj0727 commented Sep 8, 2023

Did you run the code on windows operation system? I have the same problem

@dzj0727
Copy link

dzj0727 commented Sep 8, 2023

if vis:
# im=cv2.cvtColor(im,cv2.COLOR_RGB2BGR)
cv2.imshow('camear', im) # 建立名为‘image’ 的窗口并显示图像
k = cv2.waitKey(1)

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