Implementing Real-Time, Multi-Camera Pipelines with NVIDIA Jetson

Originally published at: https://developer.nvidia.com/blog/implementing-real-time-multi-camera-pipelines-with-nvidia-jetson/

Here’s how to build efficient multi-camera pipelines taking advantage of the hardware accelerators on NVIDIA Jetson platform in just a few lines of Python.

I am trying to get this example to work on the Jetson AGX Orin Dev kit running jetpack 5.0 EA. Now I know its not really made to run with this setup but if its not to far of a reach to get it to work it would be nice. I already modified “setup.py” to not load deepstream 5.1. I already have a version running that works on the jetpack 5.0 EA

That being said here is where it hangs up.

oev@ubuntu:~/jetson-multicamera-pipelines/examples$ python3 example-no-ai.py
Traceback (most recent call last):
File “example-no-ai.py”, line 7, in
p = CameraPipeline([0, 2, 4])
File “/home/joev/.local/lib/python3.8/site-packages/jetmulticam/pipelines/multicam.py”, line 63, in init
super().init(**kwargs)
File “/home/joev/.local/lib/python3.8/site-packages/jetmulticam/pipelines/basepipeline.py”, line 25, in init
self._p = self._create_pipeline(**kwargs)
File “/home/joev/.local/lib/python3.8/site-packages/jetmulticam/pipelines/multicam.py”, line 68, in _create_pipeline
cameras = [
File “/home/joev/.local/lib/python3.8/site-packages/jetmulticam/pipelines/multicam.py”, line 69, in
make_argus_camera_configured(c, bufapi_version=0) for c in self._cams
File “/home/joev/.local/lib/python3.8/site-packages/jetmulticam/bins/cameras.py”, line 18, in make_argus_camera_configured
cam.set_property(“bufapi-version”, bufapi_version)
TypeError: object of type GstNvArgusCameraSrc' does not have property bufapi-version’
Exception ignored in: <function BasePipeline.del at 0xffffb721c160>
Traceback (most recent call last):
File “/home/joev/.local/lib/python3.8/site-packages/jetmulticam/pipelines/basepipeline.py”, line 38, in del
self.stop()
File “/home/joev/.local/lib/python3.8/site-packages/jetmulticam/pipelines/basepipeline.py”, line 41, in stop
self._p.send_event(Gst.Event.new_eos())
AttributeError: ‘CameraPipeline’ object has no attribute ‘_p’