View my account

Realsense D435 Camera - Save-To-Disk with JPG

Comments

4 comments

  • MartyG

    The ability to save to png is usually only available.  It is possible to convert a recorded bag file to jpeg.  If you need to save in real-time though, you could explore using ROS to do so.

    https://answers.ros.org/question/283724/saving-images-with-image_saver-with-timestamp/ 

    0
    Comment actions Permalink
  • Gstewart9727

    I don't think that is what I am going for. I can currently save in real-time with the existing example code. If required I could try and convert the saved pngs to jpegs, but I am also not sure how to do this without the additional of multiple libraries. My goal is to keep the code light. Really ms issue is that the stbi_write_jpg line causes segmentation faults and I am not sure why.

    0
    Comment actions Permalink
  • MartyG

    I did further research but was unable to find a solution, unfortunately.   I recommend re-posting your original question at the RealSense GitHub, as the Intel RealSense developers there are likely to be better able to provide advice on this subject.  Please visit the link below and click the 'New Issue' button to post the question there.

    https://github.com/IntelRealSense/librealsense/issues 

    0
    Comment actions Permalink
  • Gstewart9727

    I will do so. Thank-you for your help.

    0
    Comment actions Permalink

Please sign in to leave a comment.