-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python code to save depth images #3658
Comments
HI kongsgard, I tried your code and has no issue on saving depth image. It is just grey level image file and hard to save details. Thanks! |
Hi kongsgard, There is another thing that you may try is replacing the line for getting depth_image with the following line: Thanks! |
How can I save a depth image array created by depth image to csv or How can I retrieve and see the depth image information from .bag if I want to apply some algorithm to that data. |
Hi vnt1537, Hi kongsgard, Thanks! |
Thank you for all the feedback! |
|
Issue Description
Hi! I have some issues with acquiring depth images from the camera. I've used the Python code included below (a slight modification of the provided example align-depth2color.py which also seems to give the same issue), but I only get images as follows:
As you can see, the normal RGB image is fine, while the depth image is very dark. However, in realsense-viewer the depth output looks good.
Any ideas on what could be the cause?
Code
The text was updated successfully, but these errors were encountered: