depthai icon indicating copy to clipboard operation
depthai copied to clipboard

[Feature-Request] Obtain camera focal length, exposure time, and sensitivity parameters

Open Marco-ardu opened this issue 3 years ago • 11 comments

Start with the why:

I want to get the parameters after auto focus and auto exposure and save them, so that the saved parameters can be directly set when the camera is started next time Thanks

Marco-ardu avatar Mar 10 '22 01:03 Marco-ardu

Oh good idea. Will ask. Thanks for bringing up.

Luxonis-Brandon avatar Mar 10 '22 03:03 Luxonis-Brandon

Hello @MarcoGaller We have a pending PR for this feature: https://github.com/luxonis/depthai-python/pull/336 Check out the branch report_cam_settings.

SzabolcsGergely avatar Mar 10 '22 13:03 SzabolcsGergely

OK,Thanks @szabi-luxonis

Marco-ardu avatar Mar 11 '22 00:03 Marco-ardu

Can it work on mono camera now? this PR(https://github.com/luxonis/depthai-core/pull/191) said SDK only support color camera at this moment.

fboris avatar May 06 '22 03:05 fboris

Not sure. Will need @alex-luxonis to comment on this one.

Luxonis-Brandon avatar May 10 '22 03:05 Luxonis-Brandon

@szabi-luxonis any comments?

fboris avatar May 22 '22 06:05 fboris

@szabi-luxonis any comments?

You may try latest multi_cam_support branch, ImgFrame contains more metadata AFAIK

SzabolcsGergely avatar May 22 '22 17:05 SzabolcsGergely

Hoping to be able to query lens position from API. We're seeing a few camera units that do not respond to manual focus commands. Since the cameras are mounted in remote locations we'd like to deploy software to get more data points. I take it that the PR https://github.com/luxonis/depthai-core/pull/191 offers this code and can be used via https://github.com/luxonis/depthai-python/pull/336 however... these PRs are still Draft and it has been almost one year! Is the code even going to work?

unphased avatar Jul 21 '22 05:07 unphased

Hi @unphased ,

Sorry about the delay. Unsure if those will work. We will be adding proper support for this, likely October though - as we're heads down on some critical (and large) features we need to get out first.

If you have a big/pressing business need out of this, please shoot me an email at brandon at luxonis dot com and we can triage though to accelerate.

Thanks, Brandon

Luxonis-Brandon avatar Jul 21 '22 21:07 Luxonis-Brandon

Hi,

Do you have any updates on when getExposureTime will work for the mono cameras?

inuaimi avatar Aug 15 '22 11:08 inuaimi

Same question with @inuaimi , hope the mono cameras are supported too for exposure time metadata.

Also, I am a little confused. In mult_cam_support branch, I do see a similar API https://github.com/luxonis/depthai-core/blob/multi_cam_support/include/depthai/pipeline/datatype/ImgFrame.hpp#L87 , which is not present in the develop.

Does the int getExposureTime() const; API currently works for multi_cam_support? Any limitations?

chengguizi avatar Sep 10 '22 08:09 chengguizi