Hello!!!
I'm trying to write a program that can modify the properties of the camera(brightness, saturation, contrast, sharpness..).
I see the depthai_demo.py can do it on the camera properties tab but I'm not sure how it's done.
It's done by the sdk or via Opencv? Is there any example in the documentation I can take a look at and get insipred?
I've been looking at the API but it's very different of what I'm used to and I'm having a hard time trying to find it.

Have a nice day!!!

  • erik replied to this.

    Hi Domenec ,
    It's actually done by the ISP (image signal processor) on the camera itself, and is configurable with depthai. We have example here which allows you to modify most of these at bootup/runtime. I hope it helps!
    Thanks, Erik

      erik Hey Erik, thanks for the answer! It has been a great help the example to understand how the config works!

      I've seen that the c++ example does not have the "other controls" part which is what I'm looking for. Is it not achievable using c++? Do you know any workaround?

      "Other controls:
      '1' - AWB lock (true / false)
      '2' - AE lock (true / false)
      '3' - Select control: AWB mode
      '4' - Select control: AE compensation
      '5' - Select control: anti-banding/flicker mode
      '6' - Select control: effect mode
      '7' - Select control: brightness
      '8' - Select control: contrast
      '9' - Select control: saturation
      '0' - Select control: sharpness
      '[' - Select control: luma denoise
      ']' - Select control: chroma denoise
      "

      Regards,
      Domenec.

      • erik replied to this.

        Hi Domenec ,
        It's achievable with C++ as well, depthai library is actually written in C++ and we only have python bindings on top. So if you just go to chatgpt and say it to directly translate python code to c++ it should work, as bindings are 1:1 compatible🙂
        Thanks, Erik