From d46630393797152102ca8b2762049b0e893ad0c9 Mon Sep 17 00:00:00 2001 From: linbo <1034003879@qq.com> Date: Mon, 25 Aug 2025 14:05:02 +0800 Subject: [PATCH] update camera intrinsics --- include/devices/abstract_camera.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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;