之前一直被realsense的结构光困扰,从官方文档找到了开启关闭结构光的方法
depth_sensor.set_option(RS2_OPTION_EMITTER_ENABLED, 1.f); // Enable emitter depth_sensor.set_option(RS2_OPTION_EMITTER_ENABLED, 0.f); // Disable emitter
具体参考链接:
之前一直被realsense的结构光困扰,从官方文档找到了开启关闭结构光的方法
depth_sensor.set_option(RS2_OPTION_EMITTER_ENABLED, 1.f); // Enable emitter depth_sensor.set_option(RS2_OPTION_EMITTER_ENABLED, 0.f); // Disable emitter
具体参考链接: