c++ - 如何在Windows Media Foundation中获取相机外部信息?

标签 c++ uwp

我正在尝试从所有HoloLens传感器(在研究模式下工作)获取照相机外部信息。我已经在Windows Media Foundation中找到了CameraExtrinsics结构(在[这里] https://docs.microsoft.com/en-us/windows/win32/api/mfapi/ns-mfapi-mfcameraextrinsics),但是找不到任何有关如何获取它的示例。我的问题是:如何获取相机的extrinsincs?

谢谢

最佳答案

因此,我找到了解决方案,并在这里分享了它,以防其他人也为此感到困惑。

您必须通过GUID从帧属性(documentation)中获取它(在我的情况下,GUID为“6B761658-B7EC-4C3B-8225-8623CABEC31D”)。

关于c++ - 如何在Windows Media Foundation中获取相机外部信息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61770961/

相关文章:

c# - 为什么我不能使用 {x :Bind {RelativeSource Self}} in a data template?

c++ - 希望进入回合制网页游戏业务

c++ - 使 std::fill 调用非 const 限定运算符重载

c# - 带有按钮的 ListView 中的 UWP/MVVM 数据绑定(bind)不起作用

c# - UWP - 获取用户下载文件夹的路径

c# - Win 10 UAP - 在 Canvas 上画一条线

c++ - 在 MFC/Visual C++ 中覆盖 OnCancel 按钮

c++ - 为什么 reinterpret_cast 不将 'unsigned char' 转换为 'char' ?

c++ - std::atomic 是如何实现的

uwp - 是否可以更改 NavigationView 的设置项的图标和文本?