Multiple csi camera

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Jetson Nano
• DeepStream Version 5.1
• JetPack Version (valid for Jetson only) 4.5.1
• TensorRT Version 7.1.3+cuda10.2
• Issue Type( questions, new requirements, bugs) Question

Hi,

How can I integrate second csi cam to below example ?
deepstream_csi.py (15.9 KB)

Thanks.

Does the first CSI camera work with your code?

If so, you can add your second csi camera as the second source. There is sample of multiple sources input with ­deepstream-test3.

Please make sure you are familiar with gstreamer knowledge and coding skills, and be familiar with gst-python before you start with pyds.

Yes first camera works.

This is how I use it.

source = Gst.ElementFactory.make("nvarguscamerasrc", "src-elem")
source.set_property('bufapi-version', True)

and adding to pipeline and linking below.

But I don’t really understand how to add second csi with same way.

And deepstream_test_3 is all other thing with creating source bin.

Source bin is another kind of source. Just replace the source bin with your “nvarguscamerasrc”.

Please make sure you are familiar with gstreamer knowledge and coding skills, and be familiar with gst-python before you start with pyds.

https://gstreamer.freedesktop.org/
https://brettviren.github.io/pygst-tutorial-org/pygst-tutorial.html

It will be very hard for you to understand the sample codes if you are not familiar with gstreamer, gobject and gst-python.

1 Like

Thanks. I will check tutorials.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.