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

Camera module 3 #10

Open
carterw opened this issue Jul 2, 2023 · 3 comments
Open

Camera module 3 #10

carterw opened this issue Jul 2, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@carterw
Copy link

carterw commented Jul 2, 2023

This looks pretty interesting but I am using the module 3 camera, which requires the modern Picamera2 library. Any chance you can add Picamera2 as an option in your project?

@Ruud14
Copy link
Owner

Ruud14 commented Jul 3, 2023

Hi, thanks for your request.
please have a look at #6.
I might create a separate branch for Picamera2 at some point, though I am not expecting it to be any time soon unfortunately.

@Ruud14 Ruud14 added the enhancement New feature or request label Jul 3, 2023
@carterw
Copy link
Author

carterw commented Jul 3, 2023

You might be able to just make it a configuration option instead of a whole new branch. Once the image stream is set up initially all the other code should remain the same. Here's a working example if you are interested (but if you don't have a module 3 I can see how you would not be very motivated);

https://github.com/pageauc/speed-camera/blob/master/strmpilibcam.py

@Ruud14
Copy link
Owner

Ruud14 commented Jul 3, 2023

Thanks for the example.
I would be willing to make a configuration option to enable Picamera2 and I know the switch from Picamera to Picamera2 does not involve many changes in code, However any change is too much if I cannot test it, unfortunately.

Aside from the code, the process described in the Installation guide might need to vary depending on which version of Picamera is desired.

If you, or anyone else seeing this at a later point in time, would like to make the changes to the code yourself and are able to test it, I'll be more than willing to put a link to your fork in the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants