Yes you can use 2 different sensors on the 2 ports of a CM4 or Pi5.
With libcamera you can also have different sensors on the inputs of the Arducam Doubleplexer or Multi Camera Adapter boards, but they must be configured via the camera-mux-2port or camera-mux-4port overlays with appropriate overrides. Access to the inputs is sequential though.
There is no inherent synchronisation between any 2 sensors, whether the same model or not.
Different sensors also use different internal timings, and rarely produce exactly the (eg) 30fps requested as it is based on that internal clock setup. Those small fractions will lead to drift over time if you're trying to combine frames. There is a thread with regard fine adjustments of framerates through libcamera to keep sensors in sync. viewtopic.php?p=2260448#p2260448
Thank you for your kindness. I have one more question.
Currently, I am trying to operate two cameras using Python and the Picamera2 library. Will this setup provide sufficient performance?
You suggested using Libcamera with C++, but I am not very familiar with that approach. If it is necessary to use C++ and Libcamera, please let me know.
best regards.
Statistics: Posted by bok960731 — Fri Nov 08, 2024 1:44 am