You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 22, 2024. It is now read-only.
I see (in the comments for MMALCameraComponent) that MMALSharp only supports one camera module. I am working on a project for a client that is based on the Pi Compute Module 3+, and they've connected two cameras up.
MMALSharp currently works great capturing images from camera 0. Now I need to be able to capture either from 0 or from 1. I'm at a loss on how to go about this. I see (in the constructor for MMALCameraComponent) where it selects camera 0. How (and where) would I go about selecting camera 1?
Note this is not a stereo thing; I need to capture a single image from either camera 0, or from camera 1 (never both at the same time). Do I need entirely separate image pipelines for each camera? Or can I just select which camera I need, and then start a capture?
Note that currently I can capture from either camera using raspistill (using the -cs argument), so I know the hardware is working. I just need to be able to select the camera in my application using MMALSharp.