Hololens - 访问相机框架 [英] Hololens - Access Camera Frames
问题描述
在 3D 模式下,如何从 hololens 相机访问视频流中的所有帧?我正在使用 C#.
How can I access all frames in a video stream from the hololens camera, when in 3D mode? I'm using C#.
unity VideoCapture
类似乎没有提供:http://docs.unity3d.com/550/Documentation/ScriptReference/VR.WSA.WebCam.VideoCapture.html
The unity VideoCapture
class doesn't seem to provide this:
http://docs.unity3d.com/550/Documentation/ScriptReference/VR.WSA.WebCam.VideoCapture.html
和带有方法 MediaCapture.StartPreviewToCustomSinkAsync
的 microsoft MediaCapture
类没有很好的文档记录.https://msdn.microsoft.com/en-us/library/windows/desktop/ms701626(v=vs.85).aspx
and the microsoft MediaCapture
class with method MediaCapture.StartPreviewToCustomSinkAsync
is not very well documented.
https://msdn.microsoft.com/en-us/library/windows/desktop/ms701626(v=vs.85).aspx
推荐答案
您可以尝试使用 MediaCapture FrameReader API
You can try using the MediaCapture FrameReader API
示例代码:https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/CameraFrames
这篇关于Hololens - 访问相机框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!