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

Fixes the error where, if a user tries to get the latest frame without starting the camera, the program gets blocked indefinitely #103

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dvdcjw
Copy link

@dvdcjw dvdcjw commented Jul 18, 2024

I came across this

import dxcam
camera = dxcam.create()
frame = camera.get_latest_frame() #blockes the program forever.

It took me a while to figure out what had just happened.

Novices frequently make this mistake.

Now it will raise an error.

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 this pull request may close these issues.

1 participant