• DepthAI
  • OAK-D S2 Camera record depth image

Hi Luxonis Support Team,

When I am recording a depth or point cloud, I run the command "python record.py -save pointcloud"(github). I finally capture only the json file.

  • erik replied to this.

    Jalen_Xu are you using required depthai-sdk version, as specified in requirements.txt?

    Yes, I used the required depthai-sdk version. As shown below.

      Hi Jalen_Xu
      I checked few versions back and forth to see if there is a possible version mismatch. I managed to get it to work by editing the _createPipeline method inside depthai_sdk/record.py (inside site-packages):

      if "color" in self.save:

      to
      if True:

      Now I realize this is a very stupid thing to do, but it's a quick fix (somehow the color camera doesn't get created). I didn't dive deeper into the code.

      Hope it points you to the right direction.

      Thanks,
      Jaka