• DepthAI-v2
  • How can I get "Stereo depth perception at 120 FPS with filtering?"

Hi, I'm using OAK-D Pro, from this link "https://shop.luxonis.com/products/oak-d-pro"

It says, "Stereo depth perception at 120 FPS with filtering"

I thought I could get 30fps, 720p rgb data and 120fps, 400p depth data with neural network detection and filtered 120fps depth data.

However, I tried to change some settings on depthai_demo.py, but I couldn't get camera data like they said.

I even followed this guide, but it doesn't work.

When I set the depth fps higher than 30, it made depth fps slower than 30 like 15 - 20.

Is there any specific setting or something to get high fps data?

  • erik replied to this.

    Hi Justin , as you have posted on the screenshot you need to set the resolution to 400P and mono cameras to 110FPS in order to get 110FPS for depth. I'd suggest starting from this example, and doing these 2 changes. Thoughts?
    Thanks, Erik

      erik

      Thank you for your reply.
      It works after I set fps with setFps() function like this

      monoLeft.setResolution(dai.MonoCameraProperties.SensorResolution.THE_400_P)
      monoLeft.setBoardSocket(dai.CameraBoardSocket.LEFT)
      monoLeft.setFps(100)
      monoRight.setResolution(dai.MonoCameraProperties.SensorResolution.THE_400_P)
      monoRight.setBoardSocket(dai.CameraBoardSocket.RIGHT)
      monoRight.setFps(100)

      erik
      Can I ask a more question?
      I think there are some optimized setting for a specific fps.
      When I set up too high fps with some options, I mean some sort of filters like speckleFilter or spatialFilter or somethings, the depth date gets slower than before.
      Am I doing wrong? or is there the setup for some fps?

      • erik replied to this.

        Hi Justin ,
        Postprocessing filters require additional compute, so it's expected that it won't be able to keep up at 100FPS when additional filters are added.
        Thanks, Erik