-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Description
-
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
- Consider checking out SDK examples.
- Have you looked in our documentations?
- Is you question a frequently asked one?
- Try searching our GitHub Issues (open and closed) for a similar issue.
-
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Required Info | |
---|---|
Camera Model | D435 |
Operating System & Version | Ubuntu 16 |
Kernel Version (Linux Only) | 4.4.38 |
Platform | Raspberry Pi |
Language | python |
Issue Description
Hello,
I try to retrieve image from D435 camera in python but I think my depth image is not good and I don't know why.
Here the image :
And the depth image :
My code is
import pyrealsense2 as rs
pipeline = rs.pipeline()
config=rs.config
config.enable_stream(rs.stream.depth, 1280, 720, rs.format.z16,6)
config.enable_stream(rs.stream.color, 1280, 720, rs.format.rgb8,6)
config.enable_record_to_file("bagfiletest.bag")
pipeline.start()
pipeline.wait_for_frames()
pipeline.stop()