• DepthAI
  • OAK image manipulation operations

Hi all,

I wonder if the following image manipulation operations are available to execute in the Myriad X "side":

  • Image cropping
  • Image resizing
  • Image thresholding
  • Image erosion

Those operations would improve the effectiveness of the model

Thank you

  • erik replied to this.

    Hello jnebrera

    • Image cropping: yes, using ImageManip node. Example here, which crops large frames into 2 smaller frames (tiling).
    • Resizing: yes, using ImageManip node. Example here 720x720 to 300x300.
    • Regarding thresholding/erosion, we don't support in the firmware, but you can develop your own CV algorithms that are run on the device. For erosion, there might be a Kornia function that does that already.

    I hope this helps!
    King regards, Erik

    Hi Erik,

    Thank you for the reply. We will take a look to kornia library

    In my case, the main concern is we use an OAK-D-IoT-75 camera, thus the "host" is extremely limited, and all the functions have to run in the Myriad X VPU to make any sense

    • erik replied to this.

      jnebrera That makes sense, so I would say either Kornia or custom CV model would be the way to go - as ESP32 doesn't have much processing power๐Ÿ™‚
      Thanks, Erik