luxonis / depthai

DepthAI Python API utilities, examples, and tutorials.
https://docs.luxonis.com
MIT License
923 stars 229 forks source link

[Depth] {Inaccurate depth detection OAK D} #832

Open Ammar-Fasih opened 1 year ago

Ammar-Fasih commented 1 year ago

I have recently bought OAK-D and was exploring it by trying basic camera connections and depthai experiment programs. While everything was working fine, until it came to my notice that OAK-D was showing very inaccurate depth (Z coordinate). This was happening while I was running depthai experiment scripts of head posture and emotion detection in which depth was also being calculated.

The issue was initially on my single machine (laptop) while others were working fine (correct depth), unfortunately later I faced same issue (inaccurate depth) on all other laptops too. FYI, RGB and both mono cameras are working fine.

Can you please help me debug the issue? is this some sort of algorithmic bug or conflict of libraries/ dependencies? Please do let me know if you need any further information form my end. Appreciate your response in this regard.

Thanks.

Erol444 commented 1 year ago

Hi @Ammar-Fasih , Very likely you had invalid depth map, which could be the case if you camera is too close to your face (in head pose/emotion recognition demos). If that is not the case, please provide depth map/color frames, so we can take a look. Thanks, Erik