I am looking for a stereo camera solution for use with opencv on the nano. The end goal is to have two calibrated cameras for computer vision experimentation.
Since the developer kit only has a single CSI connector I am attempting to use the Arducam Multi Camera Adapter board. A demo python script seems to work fine.
It uses nvgstcapture-1.0 and captures images from the two cameras I have attached and saves JPGs.
(I slightly modified the script to only switch between camera A and camera C as those are the only two connectors that are filled on the Multi Camera Adapter)
I would like to be able to switch between cameras like in the following:
But when I setup cv2.VideoCapture() similar to JetsonHacksNano CSI-Camera simple_camera.py with nvarguscamerasrc, it crashes.
My question is, why does nvgstcapture-1.0 work and nvarguscamerasrc fail? Is there something fundamental I am doing wrong or should this methodology work in theory?