diff --git a/docs/images/image10.png b/docs/images/image10.png index bb59c80..67fa229 100644 Binary files a/docs/images/image10.png and b/docs/images/image10.png differ diff --git a/docs/images/image11.png b/docs/images/image11.png index 42859ad..92ebdfd 100644 Binary files a/docs/images/image11.png and b/docs/images/image11.png differ diff --git a/examples/align_filter_viewer.py b/examples/align_filter_viewer.py index d77f510..b99df24 100644 --- a/examples/align_filter_viewer.py +++ b/examples/align_filter_viewer.py @@ -82,6 +82,10 @@ def main(argv): frames = pipeline.wait_for_frames(100) if not frames: continue + color_frame = frames.get_color_frame() + depth_frame = frames.get_depth_frame() + if not color_frame or not depth_frame: + continue frames = align_filter.process(frames) color_frame = frames.get_color_frame() depth_frame = frames.get_depth_frame()