R
RehanJ

  • May 23, 2024
  • Joined May 17, 2024
  • 0 best answers
  • Hi @jakaskerl

    Please see the code below:

    from depthai_sdk import OakCamera, RecordType

    with OakCamera() as oak:    

    color = oak.create_camera('color', resolution='1080P', fps=30, encode='MJPEG')    

    color.config_color_camera(isp_scale(2, 3)) # 720P    

    left = oak.create_camera('left', resolution='400p', fps=30)   

    right = oak.create_camera('right', resolution='400p', fps=30)    

    stereo = oak.create_stereo(left=left, right=right)

      # Sync & save all streams    

    recorder = oak.record([color.out.encoded, left, right, stereo.out.depth], './', RecordType.VIDEO)      

    oak.visualize(left)    

    oak.start(blocking=True)

    As mentioned the file of interest is the output of stereo.out.depth (a depth.dat file)

  • Hello,

    We have been working with the Oak-D S2 camera to record videos.

    We found an example in the documentation where we were able to collect stereo.depth as output.

    However, we are unsure of how to utilize this file (how to open it, etc.).

    Is there a particular software that needs to be used to open this file?

    Thanks!

    Link to Code