update camera intrinsics

This commit is contained in:
linbo 2025-08-25 14:05:02 +08:00
parent 3582d84176
commit d466303937

View File

@ -6,6 +6,15 @@
#include "abstract_device.h" #include "abstract_device.h"
namespace cmvr::device { namespace cmvr::device {
struct Rs2Intrinsics
{
float cx;
float cy;
float fx;
float fy;
float coeffs[5];
};
struct StreamFrameData struct StreamFrameData
{ {
//原始图像数据 //原始图像数据
@ -18,7 +27,7 @@ namespace cmvr::device {
std::vector<uint8_t> depthFrame; std::vector<uint8_t> depthFrame;
//编码格式 //编码格式
std::string codec = ".h264"; std::string codec = ".h264";
Rs2Intrinsics intrinsics;
int width; int width;
int height; int height;
int fps; int fps;