• DepthAI-v2
  • merge two functions for OAK-D-Pro (OV9782)

jakaskerl

Hi, Thank you for your quick response and information. i have one more question about it. we are finding the solution for auto IR control now. Could you support us to do that? i saw some video for it from linkedin.

Best regards,

Ryan.

    Hi RyanLee
    Sorry, I am not sure I fully understand what your requests are.

    Thanks,
    Jaka

    5 days later

    we are using depthai-sdk version is 1.13.1 but OakCamera is not imported. So what is latest depthai-sdk version? how to check and upgrade depthai-sdk version??

    from depthai_sdk import OakCamera

    Best regards,

    Ryan.

      Hi RyanLee
      pip show depthai_sdk to show the version.
      pip install depthai_sdk -U to upgrade to the latest version.

      Perhaps you are using different environments? Could you paste the error log?

      Thanks,
      Jaka

        6 days later

        Hi jakaskerl

        Again, we would like to add autoir function into here . can we add it?? please guide us how to add auto_ir function into your python examples.

        Best regards,

        Ryan.

          Hi RyanLee
          You can't really implement auto ir SDK functionality for API since it doesn't function the same way. You can however use the same algorithm (https://github.com/luxonis/depthai/blob/65fc1c6ad7495929c0f58897067af2d88f62f0f8/depthai_sdk/src/depthai_sdk/oak_outputs/xout/xout_disparity.py) and adapt it to your code. For example, run the algorithm every iteration inside the main loop. This code is the logic behind setting the ir brightness values. The values then get passed to device.setIrLaserDotProjectorBrightness() and device.setIrFloodLightBrightness().

          Thanks,
          Jaka