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] {Depth quality difference between OAK-D-LITE models} #1142

Open
MoscowskyAnton opened this issue Nov 28, 2023 · 7 comments
Open

[BUG] {Depth quality difference between OAK-D-LITE models} #1142

MoscowskyAnton opened this issue Nov 28, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@MoscowskyAnton
Copy link

Hi!
I am working with OAK-D-Lite cameras and found that depth quality is different between cameras.
I have some cameras that my team won in OpenCV AI competition, and some we bought after via aliexpress retailer.
And here is difference on its depth images (obtained with ROS) on default settings:
Screenshot_20231128_111001
Also I provide mono images of same place
Screenshot_20231128_111037

On the left is new camera (been bought) and on the right is old (been won). Also the ranges in old depth is not seems to be very accurate in comparison to new.
Is there a way to improve quality of olds cameras? Thanks!

@MoscowskyAnton MoscowskyAnton added the bug Something isn't working label Nov 28, 2023
@brmarkus
Copy link

Isn't the photo on the right over-exposed? There is a (much) brighter light-source in the door - will be harder for feature-extraction.

@MoscowskyAnton
Copy link
Author

@brmarkus I tried many different places, always the story like this

@brmarkus
Copy link

Where the cameras calibrated before?
Both models are the same, i.e. both are auto-focus or both fixed-focus?
Clean lense?

@MoscowskyAnton
Copy link
Author

@brmarkus
I don't know where calibration was conducted, I didn't do any (should I? where can I get instruction?)
Also not sure about focus, how can I check this?
Lens looks good, and EVERY of three 'old' cams works in the same manner

@brmarkus
Copy link

Have a look here regardng auto-focus versus fixed-focus: https://docs.luxonis.com/projects/hardware/en/latest/pages/guides/af_ff/

There are a few resources regarding calibration.
Maybe start checking what has been stored on the device(s), like "https://docs.oakchina.cn/projects/api/samples/calibration/calibration_reader.html".
Calibration itself, e.g.: https://docs.luxonis.com/en/latest/pages/calibration/

Let's see what Luxonis team can recommend.

@MoscowskyAnton
Copy link
Author

I tried to check my cameras with

import depthai as dai
with dai.Device() as device:
    print(device.getConnectedCameraFeatures())

Like https://docs.luxonis.com/projects/hardware/en/latest/pages/guides/af_ff/ sais
But I got next error
AttributeError: 'depthai.Device' object has no attribute 'getConnectedCameraFeatures'

But seems every my camera has fixed-focus
And still wait for recommendation from luxonis

@themarpe
Copy link
Collaborator

themarpe commented Dec 7, 2023

@MoscowskyAnton You'll have to update the depthai version to latest. python3 -m pip install -U depthai. Its likely too old version

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

3 participants