H
hcarrion

  • Oct 8, 2024
  • Joined Jul 23, 2024
  • 0 best answers
  • I didn't get into script so much. Will it be somethin like this?

    scriptEnableIr = pipeline.create(dai.node.Script)

    scriptEnableIr.setProcessor(dai.ProcessorType.LEON_CSS)

    scriptEnableIr.setScript("""

        device.setIrFloodLightIntensity(0.8)

    """)

    And how could i execute it?

    Thanks you so much for your fast response!

    • Hi, i'm doing an app where i need to take a photo without LaserDotPojector, then turn on it and take another photo.
      However, when i do that, it is so slow that i have to put a time sleep, so i thought to put a while for waiting until it changes.

      Is there any function to allow me to check if it is already setted? Something like getIrLaserDotProjectorIntensity

    • Hi, i was trying it too and had some problems using the emgucv for adquisition:
      My code breaks there:
      monoRight.GetOutput().Link(xoutRight.GetInput());

      Saying this error:
      System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'