Skip to content

fix disparity to depth conversion#743

Open
KmakD wants to merge 1 commit into
luxonis:jazzyfrom
KmakD:disp-depth-conversion-fix
Open

fix disparity to depth conversion#743
KmakD wants to merge 1 commit into
luxonis:jazzyfrom
KmakD:disp-depth-conversion-fix

Conversation

@KmakD

@KmakD KmakD commented Oct 10, 2025

Copy link
Copy Markdown

Overview

Author: Dawid Kmak

Issue

Issue link (if present): #742
Issue description: Disparity to depth conversion uses wrong focal length

Changes

ROS distro: Jazzy
List of changes:

  • Add focalLength param to convertDispToDepth function
  • Use left camera focal length for conversion

Testing

Hardware used: OAK-D-PRO-W-POE
Depthai library version: ros-jazzy-depthai/noble,now 2.30.0-1noble.20250424.110737 amd64

Visuals from testing

Measured distance to object: 600mm

Before:
image
After:
image |

@moratom moratom requested a review from Serafadam January 9, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant