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

Runtime Error: Unable to open camera #45

Open
KnechtNoobrecht opened this issue Oct 23, 2023 · 0 comments
Open

Runtime Error: Unable to open camera #45

KnechtNoobrecht opened this issue Oct 23, 2023 · 0 comments

Comments

@KnechtNoobrecht
Copy link

from jetcam.csi_camera import CSICamera

try:
    camera = CSICamera(width=224, height=224, capture_width=1080, capture_height=720, capture_fps=30)
except RuntimeError as e:
    print(e)
    

while True:
    image = camera.read()
    print(len(image))

The code above throws an error: Could not initialize camera. Please see error trace.
However camera output works using nvgstcapture.
OpenCV and [email protected] and [email protected] are installed.

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

1 participant