I need help representing StereoDepth using the OAK-D LR camera.

Hello!

I’m trying to retrieve StereoDepth data from the “Oak-D LR” camera, but I’m encountering errors and thus reaching out for assistance.

According to Luxonis, this particular camera (“Oak-D LR”) uses a ColorCamera to obtain depth information, unlike other Oak-D cameras which use MonoCameras.

I conducted my tests using the “OAKExamples.toe” file, a default sample provided within TouchDesigner.

Here are my test results:

  1. When using the “Oak-D LR” camera, RGB camera and skeleton tracking work without any issue.
  2. Attempting to run StereoDepth with the “Oak-D LR” camera results in errors.
  3. Testing with another camera (“Oak-D PRO”) yields successful results across all features, including RGB, StereoDepth, and skeleton tracking.

In other words, the default “OAKExamples.toe” sample file in TouchDesigner seems only compatible with OAK-D MonoCameras.

Here’s what I’m requesting from you:

Could you please provide me with a .toe file specifically designed for testing StereoDepth using the “Oak-D LR” camera?

Since I’m not proficient in programming languages, I tried modifying the “Callbacks DAT” multiple times but continually encounter errors, preventing further progress.

I’m also attaching a Python file that I previously referenced, which successfully demonstrates StereoDepth using the ColorCamera on the Oak-D LR.

I would sincerely appreciate your help in resolving this issue.

Thank you very much!
depth_py.zip (1.4 KB)