diff --git a/include/devices/abstract_camera.h b/include/devices/abstract_camera.h index 65d91a70..160a5201 100644 --- a/include/devices/abstract_camera.h +++ b/include/devices/abstract_camera.h @@ -6,6 +6,15 @@ #include "abstract_device.h" namespace cmvr::device { + struct Rs2Intrinsics + { + float cx; + float cy; + float fx; + float fy; + float coeffs[5]; + + }; struct StreamFrameData { //原始图像数据 @@ -18,7 +27,7 @@ namespace cmvr::device { std::vector depthFrame; //编码格式 std::string codec = ".h264"; - + Rs2Intrinsics intrinsics; int width; int height; int fps;