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

Better RPI camera support #113

Open
Howie9600 opened this issue Jul 18, 2020 · 4 comments
Open

Better RPI camera support #113

Howie9600 opened this issue Jul 18, 2020 · 4 comments
Assignees

Comments

@Howie9600
Copy link

Hello I have been trying to get the code to work on live rpi camera. It says to use 0 or 1 but its not working. Any help would be awesome.

Thanks

@AdamSpannbauer
Copy link
Owner

I think more integrated pi camera support is warranted. I'm going to change this from a bug to a feature request and rename.

If you need an immediate fix. You can view this blog post from pyimagesearch on accessing the streaming video from picamera and pair that with the .stabilize_frame() method.

@AdamSpannbauer AdamSpannbauer changed the title RPI camera Better RPI camera support Jul 18, 2020
@Howie9600
Copy link
Author

Ok thank you I will try that now. I'm a bit confused with the .stabilze_frame tho.

@Howie9600
Copy link
Author

which part would i add the .stabilize

@AdamSpannbauer
Copy link
Owner

You would need to adapt the code snippet shown here to meet your needs. You would replace the cv2.VideoCapture() with how to read from picamera as shown in the linked blog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants