Oak-D Pro Subpixel Fractional Bits not working

I got an Oak-D Pro and messing around with it.

One main issue I am noticing now is that the depth information comes into TD in clear distinct layers which is not what we would generally want from depth information. Luxonis tells me this is called full-pixel layering.

We can fix it by enabling subpixel fractional bits as explained by Luxonis:
https://docs.luxonis.com/hardware/platform/depth/configuring-stereo-depth/#Configuring Stereo Depth-3. Improving depth accuracy-Stereo Subpixel mode-Stereo subpixel effect on layering

In the TouchDesigner OAK examples, in the OAK oakStereoDepthConfig Base, if I enable subpixel fractional bits and the initialize the camera I do not see any difference in the resulting point cloud.

Is there a fix for this?

Here is a video showing the issue: Kapture 2025-03-28 at 09.48.05.mp4 - Google Drive

Hi @nerk,

we have to rework these examples.
Until then, can you give this a try and see if it leads to better results for you? It’s much more directly mirroring the code used in the Luxonis examples.

cheers
Markus
OakDepthTest.toe (10.3 KB)

Hi @snaut , thanks.

Yes, the file you sent is giving better depth results (still not great), although there is much more lag.

OAK seems cool for AI stuff but probably not great for depth. Or do I just need to configure it better?

What depth camera would you recommend for mac usage? I’ve heard mixed things about the Femto Bolt working on mac.

Thanks again.

Hi @nerk,

you can try adjusting the parameters in the OAK by following the article here:

There might be better results but it’s hard to compare stereo depth to results you would get from a time of flight camera.

Maybe @robmc has more ideas on cameras for mac - I’m on pc and would just rely on information here on the forum as well.

cheers
Markus

gotcha thanks @snaut .

I have uses for an AI camera like the Oak, but right now im more concerned with good depth info.
Need to find a good ToF cam that can work with mac or switch to a windows laptop :slight_smile:

@robmc would love any insight you have