Created
June 24, 2019 12:52
-
-
Save pabloalcain/65610225deb0ae9335e66e1a6c755c57 to your computer and use it in GitHub Desktop.
Bug in capturing on Intel D415 RealSense
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyrealsense2 as rs | |
pipeline = rs.pipeline() | |
profile = pipeline.start() | |
align = rs.align(rs.stream.color) | |
all_color_frames = [] | |
all_depth_frames = [] | |
for i in range(20): | |
print(i) | |
frames = pipeline.wait_for_frames() | |
# frames = align.process(frames) | |
depth = frames.get_depth_frame() | |
color = frames.get_color_frame() | |
all_depth_frames.append(depth) | |
all_color_frames.append(color) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyrealsense2 as rs | |
from copy import copy | |
pipeline = rs.pipeline() | |
profile = pipeline.start() | |
align = rs.align(rs.stream.color) | |
all_color_frames = [] | |
all_depth_frames = [] | |
for i in range(20): | |
print(i) | |
frames = pipeline.wait_for_frames() | |
# frames = align.process(frames) | |
depth = frames.get_depth_frame() | |
color = frames.get_color_frame() | |
all_depth_frames.append(copy(depth)) | |
all_color_frames.append(copy(color)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyrealsense2 as rs | |
pipeline = rs.pipeline() | |
profile = pipeline.start() | |
align = rs.align(rs.stream.color) | |
all_color_frames = [] | |
all_depth_frames = [] | |
for i in range(20): | |
print(i) | |
frames = pipeline.wait_for_frames() | |
frames = align.process(frames) | |
depth = frames.get_depth_frame() | |
color = frames.get_color_frame() | |
all_depth_frames.append(depth) | |
# all_color_frames.append(color) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyrealsense2 as rs | |
from copy import copy | |
pipeline = rs.pipeline() | |
profile = pipeline.start() | |
align = rs.align(rs.stream.color) | |
all_color_frames = [] | |
all_depth_frames = [] | |
for i in range(20): | |
print(i) | |
frames = pipeline.wait_for_frames() | |
frames = align.process(frames) | |
depth = frames.get_depth_frame() | |
color = frames.get_color_frame() | |
all_depth_frames.append(copy(depth)) | |
# all_color_frames.append(color) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment