Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Slight Misalignment with setDepthAlign(CameraBoardSocket camera) #840

Open
borongyuan opened this issue Jun 2, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@borongyuan
Copy link

Describe the bug
There are currently two variants of setDepthAlign(). Depth image is perfectly align with rectified mono image using setDepthAlign(Properties::DepthAlign align). But there is a slight misalignment when using setDepthAlign(CameraBoardSocket camera). Specifically, the depth image is neither perfectly aligned with rectified image nor aligned with raw image. I'm currently observing this when using OAK-D Pro W. I don't know if this issue is noticeable on other models.

Minimal Reproducible Example
You can modify stereo_depth_video.cpp for experiment.

Expected behavior
I'm not too sure about the specific behavior of setDepthAlign(CameraBoardSocket camera).

camera: Set the camera from whose perspective the disparity/depth will be aligned

This paragraph in the document does not specify whether to use raw image or rectified image. So I currently avoid this variant in other projects.

@borongyuan borongyuan added the bug Something isn't working label Jun 2, 2023
@borongyuan borongyuan changed the title [BUG] {Slight Misalignment with setDepthAlign(CameraBoardSocket camera)} [BUG] Slight Misalignment with setDepthAlign(CameraBoardSocket camera) Jun 2, 2023
jakgra pushed a commit that referenced this issue Mar 20, 2024
Matched opencv version with depthai repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant