depthai
depthai copied to clipboard
[BUG] {Depth quality difference between OAK-D-LITE models}
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:
Also I provide mono images of same place
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!
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.
@brmarkus I tried many different places, always the story like this
Where the cameras calibrated before? Both models are the same, i.e. both are auto-focus or both fixed-focus? Clean lense?
@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
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.
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
@MoscowskyAnton You'll have to update the depthai version to latest. python3 -m pip install -U depthai. Its likely too old version