c# - Hololens - Access Camera Frames -


how can access frames in video stream hololens camera, when in 3d mode? i'm using c#.

the unity videocapture class doesn't seem provide this: http://docs.unity3d.com/550/documentation/scriptreference/vr.wsa.webcam.videocapture.html

and microsoft mediacapture class method mediacapture.startpreviewtocustomsinkasync not documented. https://msdn.microsoft.com/en-us/library/windows/desktop/ms701626(v=vs.85).aspx

you can try using mediacapture framereader api

documentation: https://msdn.microsoft.com/en-gb/windows/uwp/audio-video-camera/process-media-frames-with-mediaframereader#create-a-frame-reader-for-the-frame-source

sample code: https://github.com/microsoft/windows-universal-samples/tree/master/samples/cameraframes


Comments

Popular posts from this blog

serialization - Convert Any type in scala to Array[Byte] and back -

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -