|
@@ -33,6 +33,10 @@ try
|
|
|
spat_filter.set_option(RS2_OPTION_HOLES_FILL, 5);
|
|
|
// hole_filter.set_option(RS2_OPTION_HOLES_FILL, 1);
|
|
|
|
|
|
+ // let the auto exposure settle
|
|
|
+ for (auto i = 0; i < 30; ++i)
|
|
|
+ pipe.wait_for_frames();
|
|
|
+
|
|
|
rs2::frameset data = pipe.wait_for_frames();
|
|
|
rs2::video_frame color = data.get_color_frame();
|
|
|
if (!color)
|