intel real sense programming about librealsense2
intel real sense programming about librealsense2 I want to get 1280x720 depth image and 1280x720 color image. 1280x720 1280x720 So I founded as coded : coded // License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2017 Intel Corporation. All Rights Reserved. #include "librealsense2/rs.hpp" // Include RealSense Cross Platform API #include "example.hpp" // Include short list of convenience functions for rendering #include "opencv2/opencv.hpp" #include <iostream> #include "stb-masterstb_image_write.h" using namespace std; using namespace cv; // Capture Example demonstrates how to // capture depth and color video streams and render them to the screen int main(int argc, char * argv) try { int width = 1280; int height = 720; rs2::log_to_console(RS2_LOG_SEVERITY_ERROR); // Create a simple OpenGL window for rendering: window app(width, height, "RealSense Capture Example"); // Declare...