Hey Greg, do you think there is a chance for a solution, to get depth running on the Oak-D Long Range?
Otherwise I am considering to buy another Oak-D. Which Oak-D models are supported by Touchdesigner? How about Oak-D Pro Wide? Is the next generation of Oak D 4 Pro also planned to be integrated into Touchdesigner?
I have the Oak-D Pro W / OV9782 version and I’m having the same issues getting Touchdesigner to interact with the depth information. I would love some help. There’s not much help on the net. I do like this camera in regards to quality and potential.
I had some communication with derivative via mail and they didn’t try the OAK D LR yet, so far they tested:
OAK D (USB)
OAK D Lite (USB)
OAK D POE
OAK D Pro (USB)
we have not experienced issues on these regarding the depth stream
…
( Other cameras capable of streaming their depth image are the ZED cam and
RealSense both working with a stereo depth image. The Kinect Azure or
Orbec cameras on the other hand offer a ToF sensor with better out of
the box quality. )
It’s the same situation as mine.
The response I received from Luxonis was that the “Oak-D LR” camera uses the ColorCamera for StereoDepth, unlike other Oak-D cameras.
After installing DepthAi, you can check this by running “stereo_preview_lr.py” located in the examples folder.
I’m trying to fix the issue by modifying the callbacks DAT, referencing this Python file, but since I’m not very good at programming languages… I’m having trouble solving it.
I asked the same question on the Luxonis forum and their suggestion was to unplug it and plug it back in.
Didn’t work for me, but maybe it will work for someone else.
Good news everyone: I get a depth Point Cloud from my Oak D Long Range in touchdesigner!
I am using the example “stereo_preview_lr.py” from the Luxonis depthai repository in the callback. And in the OAK Select I choose the “Point Cloud” Output Format.
If using the example you might want to change center.setBoardSocket(dai.CameraBoardSocket.CENTER)
by center.setBoardSocket(dai.CameraBoardSocket.CAM_A)
as CENTER is deprecated.
Hi firepille,
nice that it works! Sorry for the delayed answer. As I see you figured it all out. Thank you for sharing on GitHub. Now the actual work can begin. Have fun!