C++ example for sl:: Camera::read()

Hi,

I’m running into a bottleneck with zed.grab() in my pipeline (~50ms blocking) and I noticed in the SDK 5.0 release notes that there’s a new sl::Camera::read() function that can separate frame acquisition from processing for parallel tasks like object detection.

Is there any C++ example or sample code showing how to use this function? I couldn’t find much documentation on it.

Hi @marioce27
Welcome to the Stereolabs community.

Please check this tutorial on GitHub: zed-sdk/tutorials/tutorial 10 - split process at 9daa908b18a240ed86c787c0fe74968379e69367 · stereolabs/zed-sdk · GitHub

1 Like

Please consider also these two specific applications: