I am trying to extract depth and color frame data using Python from recorded *.bag file. I am able to extract depth and color frames when I use config.enable_allstreams() but doesn't work when I use:
config.enable_stream(rs.stream.color, rs.format.bgr8, 30)
config.enable_stream(rs.stream.depth, rs.format.z16, 30)
Traceback (most recent call last):
File "read_bag.py", line 40, in <module>
RuntimeError: Couldn't resolve requests
Please help me with this issue. I want to read both the frames using config.enable_stream.
Please sign in to leave a comment.