luxonis / depthai

DepthAI Python API utilities, examples, and tutorials.
https://docs.luxonis.com
MIT License
923 stars 229 forks source link

Add set_exposure_iso() #1117

Closed Hutch07 closed 1 year ago

Hutch07 commented 1 year ago

camera_control.py changed to add a method to set camera exposure. set_exposure_iso(). Arguments (exposure, gain). Checks if values are outside the limits and sets values to integers. Similar to exposure_time_down() but with values instead of steps.

Hutch07 commented 1 year ago

Thanks - I will

On Mon, Sep 11, 2023 at 11:35 AM Erol444 @.***> wrote:

@.**** requested changes on this pull request.

In depthai_sdk/src/depthai_sdk/camera_control.py https://github.com/luxonis/depthai/pull/1117#discussion_r1321736634:

@@ -0,0 +1,378 @@ +import logging

Hi @Hutch07 https://github.com/Hutch07 , It seems like another file (camera_control.py) was created by mistake. Could you also target develop branch instead of main?

— Reply to this email directly, view it on GitHub https://github.com/luxonis/depthai/pull/1117#pullrequestreview-1620297590, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYI2WNUBOHGKLJZKZFVN63XZ4VT7ANCNFSM6AAAAAA4TL24BM . You are receiving this because you were mentioned.Message ID: @.***>