# Batch Neural Depth

**URL:** <https://community.stereolabs.com/t/batch-neural-depth/10696>\
**Category:** Python\
**Tags:** sdk, jetson, depth\
**Created:** [January 26, 2026, 10:04pm UTC](https://community.stereolabs.com/t/batch-neural-depth/10696 "2026-01-26T22:04:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![neil](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/n/839c29/32.png) [@neil](https://community.stereolabs.com/u/neil)\
**Post date:** [January 26, 2026, 10:04pm UTC](https://community.stereolabs.com/t/batch-neural-depth/10696/1 "2026-01-26T22:04:00Z")

</div>

We have 8 ZedX cameras that we hope to synchronize and run depth computations on. At the moment we process each camera frames sequentially with `pyzed.sl.Camera(...).retrieve_image(...)` and `pyzed.sl.Camera(...).retrieve_measure(<depth matrix>,sl.MEASURE.DEPTH, ...)` in a loop. We are curious how much performance we would gain by batching the camera frames so that inference is only run once. I can’t find a way to do this in the sdk - it seems like `retrieve_measure(...)` can only be called by one camera at a time.

---

<div class="post-metadata">

**Author:** ![mattrouss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/mattrouss/32/2452_2.png) [@mattrouss](https://community.stereolabs.com/u/mattrouss)\
**Post date:** [January 27, 2026, 3:27pm UTC](https://community.stereolabs.com/t/batch-neural-depth/10696/2 "2026-01-27T15:27:21Z")

</div>

Hi @neil,

Indeed, with ZED SDK 5.1, image capture and depth processing can only be done per-camera. We would recommend using multi-threading to get the best performance, and running the inferences in parallel. Please take a look at our official [Python Multi Camera Sample](https://github.com/stereolabs/zed-sdk/blob/master/depth%20sensing/multi%20camera/python/multi_camera.py).

We are preparing a unified API to retrieve all of the synced depth results at once, which has shown some latency and CPU usage improvements for a future release of the ZED SDK.
