Are the Camera objects thread-safe?

With the Python API, SDK 4.0.8, are the pyzed.sl.Camera objects thread-safe?

In particular, can I safely get/set video settings from one thread while another thread is running grab/retrieve_xxx, without explicitly synchronizing access to the Camera object?

Thanks!

Hi @JC3

It’s thread-safe, setting and getting the video settings will not cause a crash when the camera is accessed from multiple threads concurrently.

1 Like