View my account

Speed up D455 camera on the Raspberry Pi

Comments

3 comments

  • MartyG

    Hi Bobcatkai  If you record the color and depth into a bag file then the streams will be stored separately.  The bag file can then be loaded back into the computer and have alignment applied to the recorded streams in real-time.  A bag file is like a video recording that contains raw camera data, so it will store all of the frames that were produced during the duration of a recording session.

     

    An alternative to aligning the entire image that has faster processing is to convert a single specific color pixel into a depth pixel using the SDK's rs2_project_color_pixel_to_depth_pixel instruction.  A Python script that demonstrates use of the instruction can be found at the link below.

    https://github.com/IntelRealSense/librealsense/issues/5603#issuecomment-574019008

     

    0
    Comment actions Permalink
  • Bobcatkai

    Hi MartyG,

    Thank you for the reply. 

    I came across an issue on GitHub (https://github.com/IntelRealSense/librealsense/issues/946) where a RuntimeError occurs after capturing a certain number of frames from the camera. It seems to stop at 15 frames. I'm curious to know if this issue has been resolved or if it's occurring in my case. 

    0
    Comment actions Permalink
  • MartyG

    A Python program is only likely to stop at 15 frames if an append instruction is used in the script.

    0
    Comment actions Permalink

Please sign in to leave a comment.