My project requires two images being taken at the same time.
I am using two of the leopard imaging imx377 csi-mipi cameras.
I have been using the gstreamer pipeline with opencv videocapture on single sensor fairly successfully. The problem is that when i start two opencv videocaptures eventually my jetson freezes up and stops responding to keyboard or mouse inputs. Here is an example of the code I am running
Yes I built it from source, It works great on one videocapture. But the problem occurs when two are running. I noticed in a ridgerun blog post that they had parameters for two sensor ids in one gstreamer pipeline. Can opencv videocapture work from that?
I’m afraid I don’t understand your solution. I am also not using Python but C++ opencv. I was able to solve my problem by using videomixer in gstreamer and combining the streams from both cameras. I feel like there’s a better approach, but it seems to work.
Here’s an example from the function that generates my pipeline: